php.ini : timezone not known ?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

php.ini : timezone not known ?

Postby lemoineo » 25. August 2009 10:08

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:
Posts: 19
Joined: 07. February 2005 18:27

Re: php.ini : timezone not known ?

Postby Nobbie » 25. August 2009 10:20

>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
Posts: 11090
Joined: 09. March 2008 13:04

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests