ID:               35771
 User updated by:  daniel dot sand at pixelpark dot com
 Reported By:      daniel dot sand at pixelpark dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         Apache2 related
 Operating System: Solaris
 PHP Version:      5.1.1
 New Comment:

i took the sapi/apache2handler/sapi_apache2.c from php5.1-latest and it
fixed the bug. thx a lot.


Previous Comments:
------------------------------------------------------------------------

[2005-12-22 11:55:14] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip



------------------------------------------------------------------------

[2005-12-22 11:51:40] daniel dot sand at pixelpark dot com

Description:
------------
Under Apache 2.0.55 with PHP 5.1.1 ( and PHP 5.1.0RC1 ) and defined
ErrorDocument 404 html page with treating .html like PHP segfaults
apache child.


Reproduce code:
---------------
Under Apache 2.x with PHP 5.1.1 set in 

Apache Config:

ErrorDocument 404 /error/HTTP_NOT_FOUND.html

AddType application/x-httpd-php .php .php4 .html .htm

touch the file and put some example code in it:

<html><body><?php echo phpinfo();?></body></html>

start up apache and call some not existing page on the Webserver:

nothing much happens and in the error log you see that the apache child
segfaults:

[Thu Dec 22 11:15:58 2005] [notice] child pid 25725 exit signal
Segmentation fault (11)

Expected result:
----------------
It should return an Errorpage with the correct content of the File.

Actual result:
--------------
Segfault of the Apache Child


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35771&edit=1

Reply via email to