#48534 [Com]: Infinite loop with: log_errors+display_startup_errors+no timezone

[email protected] ("zooh at mail dot ru")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               48534
 Comment by:       zooh at mail dot ru
 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:

Problem still persists in 5.3.0


Previous Comments:
------------------------------------------------------------------------

[2009-06-18 15:21:17] [email protected]

Will be fixed after 5.3.0

------------------------------------------------------------------------

[2009-06-15 21:24:19] ninzya at inbox dot lv

ALSO hit this bug, i mean

------------------------------------------------------------------------

[2009-06-12 17:26:34] [email protected]

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] [email protected]

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.