Edit report at http://bugs.php.net/bug.php?id=53048&edit=1
ID: 53048
Comment by: uramihsayibok at gmail dot com
Reported by: wiltave at zipmail dot com dot br
Summary: date.timezone directive configured but warning is
showed
Status: Open
Type: Bug
Package: Date/time related
Operating System: Microsoft Windows XP 32-bit
PHP Version: 5.3.3
Block user comment: N
New Comment:
Did you edit the correct php.ini? Did you restart the webserver after
editing it? What does phpinfo() say the master value of date.timezone
is?
Previous Comments:
------------------------------------------------------------------------
[2010-10-12 22:43:28] wiltave at zipmail dot com dot br
Description:
------------
I've configured php.ini with "date.timezone = America/Sao_Paulo" but
I've received the following warning: "Warning: phpinfo()
[function.phpinfo]: 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/Sao_Paulo' for
'-3.0/no DST' instead in C:\Desenvolvimento\www\index.php on line 1"
Test script:
---------------
<?php phpinfo(); ?>
Expected result:
----------------
No warning
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53048&edit=1