Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

PHP 5.3 Installation Errors - Hash support and Time


Reply

3 Posts   1511 Views

Avatar
Noki

18 June 2012 at 8:50pm Community Member, 6 Posts

Hey,
i tried to install silverstripe on a new server but i got the following errors. So far, I could not find any solutions.

hash support    - hash support not included in PHP.
date.timezone set and valid   - date.timezone option in php.ini must be set in PHP 5.3.0+

I set the date in the pho.ini, but it did not work.
I never had this befor. Can anyody help?

Thanks

Avatar
Bambii7

19 June 2012 at 6:06pm Community Member, 254 Posts

Yeah I has a similar thing,
I had date/time set to    Australia/Perth which is valid according to php http://www.php.net/manual/en/timezones.australia.php
But switched it the Australia/Melbourne the it worked without error

Avatar
Optic Blaze

7 July 2012 at 1:58am Community Member, 162 Posts

I had the same problem on a shared server and could not get access to the php.ini to make the changes. Found a workaround by making a change to the .htaccess file.

Insert the following line into .htaccess file. ( i put mine right at the top)

### set time zone ###
php_value date.timezone Africa/Johannesburg

You must just change the 'Africa/Johannesburg' to the correct time zone that you are in

Hope it helps