Re: Problem with dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxx
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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux