From: mega dot venik at gmail dot com Operating system: Centos 6.3 PHP version: 5.3.18 Package: PHP options/info functions Bug Type: Bug Bug description:Apache 2.2.15 + mod_fcgid + PHP 5.3.3
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 bug report at https://bugs.php.net/bug.php?id=63368&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63368&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63368&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63368&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63368&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63368&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63368&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63368&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63368&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63368&r=support Expected behavior: https://bugs.php.net/fix.php?id=63368&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63368&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63368&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63368&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63368&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63368&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63368&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63368&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63368&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63368&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63368&r=mysqlcfg