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
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_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/Services/Weather.php on line 166
I don't antdertand what I have to do to fix it, someones can help me please?
Ernesto Bustos
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,
Thanks you, but the warning are on the shell while I am trying install Horde (I have more problems wiht the install) but do I need to fix this problems or I can install Horde and later fix the problem in php.ini if I have it?
Quoting Marcelo Beckmann marcelo.beckmann@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@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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Em 07-12-2011 14:55, Weplica escreveu:
Thanks you, but the warning are on the shell while I am trying install Horde (I have more problems wiht the install) but do I need to fix this problems or I can install Horde and later fix the problem in php.ini if I have it?
In my case I saw these warnings after I have installed a mail server with roundcube webmail, then I did the fix later, with no more implications.
If you can fix now, it could be better to debug other problems, few error/warning logs to see.
Regards,