Page 1 of 1

php.ini : timezone not known ?

PostPosted: 25. August 2009 10:08
by lemoineo
When the lampp server (on linux Ubuntu), there is a warning error
Code: Select all
[25-Aug-2009 10:44:08] PHP Warning:  PHP Startup: 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 'CEST/2.0/DST' instead in Unknown on line 0

with many times (10 ?) and my PHP.ini contain the line
Code: Select all
date.timezone = Europe/Paris
The problem is not Berlin or Paris but the error :lol:
Thank's for your product and perhaps for your support ...
Hard for the 2009 holidays :shock:

Re: php.ini : timezone not known ?

PostPosted: 25. August 2009 10:20
by Nobbie
>with many times (10 ?) and my PHP.ini contain the line

Are you sure you are looking into the right php.ini? I don't think so.

Run a phpinfo() to find out the location of php.ini and to evaluate the real setting of date.timezone