ID: 48534
Comment by: ninzya at inbox dot lv
Reported By: paul at mantisforge dot org
Status: Verified
Bug Type: PHP options/info functions
Operating System: Windows 32bit
PHP Version: 5.3.0RC3
Assigned To: derick
New Comment:
Just hit this bug.
Previous Comments:
------------------------------------------------------------------------
[2009-06-12 17:26:34] stas@php.net
This is a consequence of not-complete fix for bug #48247. I have a
proposed fix, Derick needs to look at it.
------------------------------------------------------------------------
[2009-06-12 00:35:03] pajoye@php.net
Stan, can you take a look please? It could be related to your latest
fix.
------------------------------------------------------------------------
[2009-06-11 22:24:21] paul at mantisforge dot org
Description:
------------
Calling php from command line with (for example):
c:\php\php -c "c:\php\foo.ini" -i
Results in an infinite logging loop if
a) display_startup_errors is on
b) no timezone has been set in php.ini
c) error logging to file is on
Reproduce code:
---------------
PHP.ini:
log_errors = On
error_log = "c:\temp\php.log"
display_startup_errors = On
Expected result:
----------------
phpinfo(); is displayed
Actual result:
--------------
*snip*
ctype
ctype functions => enabled
date
date/time support => enabled
"Olson" Timezone Database Version => 2009.9
Timezone Database => internal
Warning: Unknown: 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 thi
s warning, you most likely misspelled the timezone identifier. We
selected 'Euro
pe/London' for '1.0/DST' instead in Unknown on line 0
Warning: Unknown: 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 thi
s warning, you most likely misspelled the timezone identifier. We
selected 'Euro
pe/London' for '1.0/DST' instead in Unknown on line 0
Warning: Unknown: 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 thi
s warning, you most likely misspelled the timezone identifier. We
selected 'Euro
pe/London' for '1.0/DST' instead in Unknown on line 0
....
...
..
.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48534&edit=1