#33987 [Opn->Ver]: .php file in ErrorDocument causes apache crash

From: Date: Sun, 14 Aug 2005 03:27:55 +0000
Subject: #33987 [Opn->Ver]: .php file in ErrorDocument causes apache crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83548@lists.php.net to get a copy of this message
ID: 33987 Updated by: sniper@php.net Reported By: php dot net at sharpdreams dot com -Status: Open +Status: Verified Bug Type: Apache2 related Operating System: Win32 (XP SP2) PHP Version: 5CVS-2005-08-03 New Comment: It crashes if ErrorDocument refers to a PHP file. Anything else and it works fine. Previous Comments: ------------------------------------------------------------------------ [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] sniper@php.net 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" ------------------------------------------------------------------------ [2005-08-03 22:47:58] sniper@php.net How have you enabled PHP in the httpd.conf file? (what lines did you add there to enable it..) ------------------------------------------------------------------------ [2005-08-03 22:17:11] php dot net at sharpdreams dot com This only seems to happen in Win32, works fine under our BSD boxes. Windows XP SP2, Apache 2/2.0.54, PHP 5.1.0-dev (built: Aug 3 2005 20:36:22). Changing my error document to anything other than a PHP file works (e.g., ErrorDocument error.html or /cgi-bin/error.pl). ------------------------------------------------------------------------ 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

« previous php.bugs (#83548) next »