From:             karel dot horsky at centrum dot cz
Operating system: Windows XP Pro
PHP version:      5.2.10
PHP Bug Type:     Reproducible crash
Bug description:  enabling error_log directive crashes PHP

Description:
------------
When I set error_log directive (I tried to set it via php.ini or ini_set
function), PHP randomly crashes.

What can I reproduce every time is that the result of phpinfo(). Behaves
differently in different browsers:
- no resut page in IE ("Can't display page")
- Firefox starts with phpinfo result, than "The connection was reset"
- Opera stops at Apache Environment section)

After couple of refreshes (same behavior) Apache and PHP crashes, I get no
response at all.

Without phpinfo, PHP randomly crashes after couple of requests.

It's fresh installation of OS, all patches, than only Apache 2.2.11, MySQL
5.1.35, PHP 5.2.10 and Zend Studio 6.1.2.

I could submit whole php.ini, but I used php.ini-recommended when I was
looking for error.

Reproduce code:
---------------
<?php
        ini_set('error_log','D:\\PHP\\php_error.log');
        phpinfo();
?>

or set directive in php.ini

Expected result:
----------------
Whole result of phpinfo, no crashes when error_log file is used.


-- 
Edit bug report at http://bugs.php.net/?id=48749&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48749&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48749&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48749&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48749&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48749&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48749&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48749&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48749&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48749&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48749&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48749&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48749&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48749&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48749&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48749&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48749&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48749&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48749&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48749&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48749&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48749&r=mysqlcfg

Reply via email to