phpinfo()
tells me that my timezone is properly set:
date_default_timezone_get()
returns "Europe/Berlin". Since I'm on 5.4.35 this should return the ini option (see the manual).
Do I still need to set the timezone, as PHP's warning tells me?
Strict Standards: strtotime(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /your/skript.php on line 249
date_default_timezone_get()
returns "Europe/Berlin". Since I'm on 5.4.35 this should return the ini option. – user1322720