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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

PHP 5.3 Installation Errors - Hash support and Time


Go to End


3 Posts   2596 Views

Avatar
Noki

Community Member, 6 Posts

18 June 2012 at 8:50pm

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

Community Member, 254 Posts

19 June 2012 at 6:06pm

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

Community Member, 190 Posts

7 July 2012 at 1:58am

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