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.
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?
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