This topic is locked

Error 2048

9/19/2006 12:43:41 AM
PHPRunner General questions
D
Darryl author

localtime() [function.localtime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'UTC' for '8.0/no DST' instead
I am getting this problem when this system access my mysql database. It is a standard date field.

Alexey admin 9/19/2006

Hi,
PHP 5.1 and later needs date.timezone configuration option to be set in php.ini file.

Please open C:\Windows\php.ini file with a text editor and insert the following line there:

date.timezone = "'America/New_York"


Then restart you webserver.
The full list of supported timezones can be found at:

http://www.php.net/manual/en/timezones.php