Edit report at http://bugs.php.net/bug.php?id=53048&edit=1
ID: 53048 Updated by: [email protected] Reported by: wiltave at zipmail dot com dot br Summary: date.timezone directive configured but warning is showed -Status: Open +Status: Bogus Type: Bug Package: Date/time related Operating System: Microsoft Windows XP 32-bit PHP Version: 5.3.3 Block user comment: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2010-10-13 01:58:58] uramihsayibok at gmail dot com 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? ------------------------------------------------------------------------ [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
