date.timezone error in error_log
Posted: Fri Sep 23, 2011 5:59 pm
I changed the /etc/php.ini file
; http://www.php.net/manual/en/datetime.c ... e.timezone
; date.timezone = Pacific/PST
date.timezone = America/Los_Angeles
however I am still getting these in my /var/log/httpd/error_log every minute or so.. How can I adjust this so it is proper? Thanks!
Jeff
[Fri Sep 23 15:56:47 2011] [error] [client 159.119.105.96] PHP Warning: strtotime(): 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 70, referer: http://nadc-nag-p01/nagiosxi/
; http://www.php.net/manual/en/datetime.c ... e.timezone
; date.timezone = Pacific/PST
date.timezone = America/Los_Angeles
however I am still getting these in my /var/log/httpd/error_log every minute or so.. How can I adjust this so it is proper? Thanks!
Jeff
[Fri Sep 23 15:56:47 2011] [error] [client 159.119.105.96] PHP Warning: strtotime(): 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 70, referer: http://nadc-nag-p01/nagiosxi/