ID: 33987 Updated by: [EMAIL PROTECTED] Reported By: php dot net at sharpdreams dot com Status: Verified Bug Type: Apache2 related Operating System: * PHP Version: 5CVS-2005-08-03 New Comment:
This happens if PHP has not done any requests -> it has not been initialized properly -> as it's not initialized it's pretty futile to try to execute a script blindly like it is done here: sapi/apache2handler/sapi_apache2.c:564 See also the earlier block between lines 529-542 where parent_req is set. Previous Comments: ------------------------------------------------------------------------ [2005-08-14 16:14:23] [EMAIL PROTECTED] It happens on Linux too if the child hasn't done any PHP requests yet. ------------------------------------------------------------------------ [2005-08-14 05:27:53] [EMAIL PROTECTED] It crashes if ErrorDocument refers to a PHP file. Anything else and it works fine. ------------------------------------------------------------------------ [2005-08-04 18:45:32] php dot net at sharpdreams dot com There is no entry in either error_log or access_log (I presume it crashes before logging). If I turn on the rewriting log, I can see the request getting rewritten until it hits /error.php. I know it crashes because it pops u the Visual Studio debuger. ------------------------------------------------------------------------ [2005-08-04 09:11:07] [EMAIL PROTECTED] What do you get in the apache error_log when this problem happens? Are you sure it really crashes..? ------------------------------------------------------------------------ [2005-08-04 01:37:03] php dot net at sharpdreams dot com LoadModule php5_module "C:/www/apache2/PHP5-1/php5apache2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps PHPIniDir "C:/www/apache2/php5-1" ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33987 -- Edit this bug report at http://bugs.php.net/?id=33987&edit=1