From: [EMAIL PROTECTED] Operating system: Solaris 2.8 PHP version: 4CVS-2002-12-31 (dev) PHP Bug Type: Scripting Engine problem Bug description: php engine does not return
My website is operated by PHP engine version 4.0.6 working with Apache webserver version 1.3.26, run on a Solaris 2.8 host computer. PHP was compiled as a shared module. I have been monitoring the Apache server log, and I am seeing cases where the response to a PHP request is an http status "200" with an http body size of "-", occurring 5 to 6 times daily. This is because the PHP engine did not return a response within the Apache server timeout period of 5 minutes while attempting to parse the PHP script. But, I can't figure out why the PHP script parsing routine is not returning. I've inserted syslog() statements in the source code of the PHP engine, in the send_php(), apache_php_module_main(), php_execute_script(), zend_execute_scripts() functions to find out the reason. The resulting log shows that the source code executed until apache_php_module_main() but no further. Therefore, the problem seems to be in php_request_startup() executed before php_execute_script(), but I was unable to pinpoint the culprit. Also, I've noticed that there was not a single occurrence where the apache process crashed(due to a segmentation fault for example), as a result of this problem. Any help will be greatly appreciated. -- Edit bug report at http://bugs.php.net/?id=21307&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21307&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21307&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21307&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21307&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21307&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21307&r=support Expected behavior: http://bugs.php.net/fix.php?id=21307&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21307&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21307&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21307&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21307&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21307&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21307&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21307&r=gnused