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, Ed, biapar, Willr, Ingo, swaiba

date.timezone option in php.ini must be set in PHP 5.3.0+

Go to End

19 Posts   105281 Views


Community Member, 1 Post

5 May 2013 at 1:26am

You can also do this

edit .htaccess file in root folder

just add line at the end of content "php_value date.timezone {yourtimezone}"

like this

"php_value date.timezone Pacific/Auckland"

save upload and that's it...

It worked for me.


Community Member, 1 Post

25 November 2015 at 10:18pm


I have solve the problem by adding php.ini file in root folder and in php.ini file you can add below info

; Resource Limits ;

max_execution_time = 30
max_input_time = 60
memory_limit = 256M
upload_max_filesize = 100M
php_value max_input_time 120
date.timezone = Pacific/Auckland

Solve the issue


Community Member, 1 Post

24 January 2016 at 2:55am


I got the same correcting time zone problem and managed to fix it.
I'm using Mac OS X El capitan, Nginx, PHP-FPM, MySQL.
To correct PHP timezone, instead of php.ini, I set up this
php_admin_value[date.timezone] = Europe/London
then restart PHP-FPM and Nginx.

Go to Top