Ticket #235 (closed defect: invalid)
TimeZone PHP Warnings On Administration Page
| Reported by: | war59312 | Owned by: | moo |
|---|---|---|---|
| Priority: | trivial | Milestone: | 1.3.1 |
| Component: | admin | Version: | 1.3.0 |
| Keywords: | timezone, warning, php | Cc: | |
| Blocked By: | PHP Version: | 5.3.1 | |
| Application: | Need User Feedback: | yes | |
| Other Exts: | SAPI: | FastCGI | |
| Probability: | Always | Blocking: |
Description
Hi,
Every time I view the XCache 1.3.0 Administration page two PHP Warnings are logged in my log file.
Can this please be fixed?
Thanks,
Will
2010/02/12 02:14:58 [error] 30339#0: *3 FastCGI sent in stderr: "PHP Warning: phpinfo(): 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/New?_York' for 'EST/-5.0/no DST' instead in /usr/local/nginx/html/admin/xcache.php on line 207
PHP Warning: phpinfo(): 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/New?_York' for 'EST/-5.0/no DST' instead in /usr/local/nginx/html/admin/xcache.php on line 207" while reading response header from upstream, client: 192.168.1.105, server: localhost, request: "GET /admin/ HTTP/1.0", upstream: " fastcgi://127.0.0.1:9000", host: "192.168.1.193"

