[CentOS] Problem with dates

Wed Dec 7 16:40:09 UTC 2011
Marcelo Beckmann <marcelo.beckmann at webers.com.br>

Em 07-12-2011 14:31, Weplica escreveu:
>
> Hello,
>
> I am instaling Horde on my CentOS 6, and when I do "webmail-install" I
> have a lots of this warnings:
>
>
> 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_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/Lima' for
> 'PET/-5.0/no DST' instead in /usr/share/pear/Horde/Log/Logger.php on
> line 182
<snip>

You can define a timezone in your /etc/php.ini to avoid these warnings, 
like:

date.timezone = "America/Sao_Paulo"

See this URL, it was useful for me when I saw these warning first time:
http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone


Regards,
-- 
Marcelo Beckmann
Suporte Corporativo - suporte at webers.com.br
Webers Tecnologia - http://www.webers.com.br
Curitiba       (PR) (41) 3094-6600
Rio de Janeiro (RJ) (21) 4007-1207
São Paulo      (SP) (11) 4007-1207