ID: 33987 Updated by: [EMAIL PROTECTED] Reported By: php dot net at sharpdreams dot com -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Win32 (XP SP2) PHP Version: 5CVS-2005-08-03 New Comment:
What do you get in the apache error_log when this problem happens? Are you sure it really crashes..? Previous Comments: ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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). ------------------------------------------------------------------------ [2005-08-03 22:02:52] php dot net at sharpdreams dot com Tested on 5.0.3 release and it works fine. Some kind of regression between 5.0.3 and 5.1CVS. ------------------------------------------------------------------------ [2005-08-03 21:46:05] php dot net at sharpdreams dot com Description: ------------ Using recent PHP5.1 CVS snapshots on Win32, Apache2 crashes when a .php file is set as an ErrorDocument in .htaccess. There are similiar bugs (21074, 19793) that are marked closed. This was working with snapshots from a few weeks ago. Reproduce code: --------------- .htaccess --------- ErrorDocument 404 /error.php?status=404 /error.php --------- die( "File Not Found!" ); Expected result: ---------------- File Not Found! Actual result: -------------- Apache2 crashes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33987&edit=1