четверг, 17 мая 2012 г.

PHP Warning: date(): It is not safe to rely on the system's timezone settings

Предупреждение PHP. У меня проявилось при установке RoundCube:
PHP Warning: 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_ti
Необходимо добавить в php.ini данные о временной зоне (timezone):
date.timezone = Europe/Minsk
(взять точно можно из /usr/share/zoneinfo/)

Комментариев нет:

Отправить комментарий