date.timezone set and still getting strict warnings.
| From: | Tamara Temple | Date: | Mon, 13 Jun 2011 20:25:53 +0000 |
| Subject: | date.timezone set and still getting strict warnings. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-313504@lists.php.net to get a copy of this message | ||
I have date.timezone set, as shown in the phpinfo() output:
portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone'
Default timezone => America/Chicago
date.timezone => 'America/Chicago' => 'America/Chicago'
Yet, when I call a function like strtotime(), i still get the Strict warning about not having date.timezone set. (Yes, I have restarted the server, twice, and the correct value shows up if I invoke phpinfo() via the server.)
Any clues?