Timezone no php
De MochilaWiki
Revisão de 15h41min de 24 de outubro de 2009 por Banto Palmarino (discussão | contribs) (Nova página: http://www.dicas-l.com.br/dicas-l/20071019.php date.timezone: NOT OK (cannot be empty and needs to be set) php_value date.timezone America/Sao_Paulo SetEnv TZ America/Sao_Paulo ht...)
http://www.dicas-l.com.br/dicas-l/20071019.php
date.timezone: NOT OK (cannot be empty and needs to be set)
php_value date.timezone America/Sao_Paulo SetEnv TZ America/Sao_Paulo
http://pecl.php.net/package/timezonedb/ http://www.itechtalk.com/thread469.html http://br.php.net/timezones
echo 'date.timezone = "America/Sao_paulo"' > /etc/php5/conf.d/date.ini
You should add "extension=timezonedb.so" to php.ini
The following settings are optional and recommended: date.timezone: NOT OK(Could be set)