Edit report at https://bugs.php.net/bug.php?id=63368&edit=1
ID: 63368 User updated by: mega dot venik at gmail dot com Reported by: mega dot venik at gmail dot com -Summary: Apache 2.2.15 + mod_fcgid + PHP 5.3.3 +Summary: Apache 2.2.15 + mod_fcgid + PHP 5.3.3 ignores global timezone Status: Open Type: Bug Package: PHP options/info functions Operating System: Centos 6.3 PHP Version: 5.3.18 Block user comment: N Private report: N New Comment: correction Previous Comments: ------------------------------------------------------------------------ [2012-10-26 11:35:05] mega dot venik at gmail dot com Description: ------------ There's a Centos6.3 system. Apache 2.2.15 + mod_fcgid + PHP 5.3.3 There's a problem with date.timezone value. It's mentioned in the global /etc/php.ini like this: date.timezone = "Europe/Moscow" And doesn't mentioned in user's local php.ini. As a result, I'm getting lot's of warnings like: Warning: date() [function.date]: 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/Helsinki' for 'EEST/3.0/DST' instead in ... Including the date.timezone parameter into the user's php.ini solves the problem, but I don't think, that it's the best solution. Why PHP doesn't read the timezone value from the global config file? Thanks! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63368&edit=1