Edit report at https://bugs.php.net/bug.php?id=60723&edit=1
ID: 60723 Comment by: mitek17 at gmail dot com Reported by: olemarkus at gentoo dot org Summary: error_log error time has changed to UTC ignoring default timezo Status: Assigned Type: Bug Package: Date/time related Operating System: Gentoo Linux PHP Version: 5.3.9 Assigned To: derick Block user comment: N Private report: N New Comment: Same problem, php 5.3.9; FreeBSD 8.0 & 9.0 Previous Comments: ------------------------------------------------------------------------ [2012-02-05 15:50:00] gemini dot geek at yahoo dot com hi, I am having the same issue , i am having php 5.3.9 on "CENTOS 6.2 x86_64" Deepak ------------------------------------------------------------------------ [2012-01-31 15:19:48] der...@php.net Hi! We had to change this in order to prevent crashes (like in https://bugs.php.net/bug.php?id=60373). I'll check whether there is a better way to fix it. cheers, Derick ------------------------------------------------------------------------ [2012-01-31 13:58:19] canderson at tmcc dot edu I have the same issue running PHP 5.3.9 on Windows IIS 7.5 ------------------------------------------------------------------------ [2012-01-20 10:29:43] tomop at teamgedoh dot net I have the same problem. The "localtime" argument passed to the php_format_date() function was changed from 1 to 0 between 5.3.8 and 5.3.9. Did it cause the problem? In /[svn]/php/php-src/branches/PHP_5_3/main/main.c *revision 319750, line 602: error_time_str = php_format_date("d-M-Y H:i:s", 11, error_time, 1 TSRMLS_CC); *revision 319823, line 602: error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 0 TSRMLS_CC); ------------------------------------------------------------------------ [2012-01-12 09:08:22] olemarkus at gentoo dot org Description: ------------ PHP error log no longer respects timezone and always logs in UTC. Setting error_log to a filesystem path and date.default_timezone to e.g Europe/Oslo gives the following log lines in 5.3.8: [12-Jan-2012 10:02:38] PHP Notice: Undefined variable: foo in /home/htdocs/index.php on line 3 [12-Jan-2012 10:02:38] PHP Fatal error: Call to a member function bar() on a non-object in /home/htdocs/index.php on line 3 While in 5.3.9 you get: [12-Jan-2012 09:06:00 UTC] PHP Notice: Undefined variable: foo in /home/htdocs/index.php on line 3 [12-Jan-2012 09:06:00 UTC] PHP Fatal error: Call to a member function bar() on a non-object in /home/htdocs/index.php on line 3 Also see downstream bug: https://bugs.gentoo.org/show_bug.cgi?id=398445 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60723&edit=1