[RCU] PHP warning - date.timezone
roundcube at paz.bz
Fri Nov 5 17:34:38 CET 2010
On 2010-11-04 11:15 PM, Michael Orlitzky wrote:
> On 11/04/10 22:36, Jim Pazarena wrote:
>> PHP Warning: date() [<a href='function.date'>function.date</a>]: 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/www/roundcube/program/include/main.inc on line 1029
> You need to set the date.timezone preference in one of the following:
> * php.ini
> * Your Apache vhost
> * .htaccess
> * Wherever else it would work
> Yes, your php.ini file is located in the same timezone as the server.
> But apparently, the PHP devs would like you to set a very special
> PHP-only timezone, because the one you set for PHP is going to be
> somehow more reliable than the one you set for the system.
> See the date.timezone section of,
> for possible values.
I find that my "php.ini" DOES have:
date.timezone = "America/Vancouver" in it.
Seems as tho my php system doesn't like that!
can it be placed inside ROUNDCUBE anywhere ?
List info: http://lists.roundcube.net/users/
More information about the users