php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21307 php engine does not return
Submitted: 2002-12-31 02:38 UTC Modified: 2002-12-31 02:54 UTC
From: rhs0517 at bluebird dot co dot kr Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Solaris 2.8
Private report: No CVE-ID: None
 [2002-12-31 02:38 UTC] rhs0517 at bluebird dot co dot kr
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-31 02:54 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

If you're really running 4.0.6, you definitely first need to upgrade as there were tons of bugs fixed since that release.

Derick
 [2003-06-16 03:38 UTC] raimonds dot plavenieks at nordlb dot lv
I have the same problem.

PHP Version 4.3.1
System: SunOS 5.8 Generic_108528-17 sun4u 
Zend Engine v1.3.0, Zend Optimizer v2.1.0
Apache/1.3.27
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 22:01:26 2024 UTC