Red Hat Bugzilla – Bug 86409
Adding PHP support for .html files causes Segmentation Fault for all error documents
Last modified: 2007-04-18 12:52:16 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830
Description of problem:
Adding support for php in .html files somehow conflicts with the error
documents. Any error document results in the browser displaying the message 'the
document contains no data' - this is because the server process dies with this
ending up in the error log:
[Fri Mar 21 12:53:33 2003] [notice] child pid 4827 exit signal Segmentation
I have tried (briefly) to get a coredump with no success, and gdb doesn't want
to attach to the process (presumably due to the recent errata kernel's ptrace
Version-Release number of selected component (if applicable):
httpd-2.0.40-11 + php-4.2.2-11
(also confirmed on httpd-2.0.40-20 + php-4.2.2-16 from rawhide)
Steps to Reproduce:
1. Add php support to apache by adding this to /etc/httpd/conf.d/php.conf
2. Restart apache
service httpd restart
3. Attempt to access something that results in an error document (eg. a
Actual Results: server process dies with segmentation fault and no data is
returned to browser
Expected Results: server sends a nice 404 error document and the browser
This may be an apache/httpd thing or a php thing, but my gut feeling is it's
httpd so it's filed here.
I *did* have this working once, but that was a long time ago, and I was not
using RedHat packages but a hand-compiled apache & php. I'd prefer not to return
to that as it's a PITA.
Hmm. Someone filed a dupe and that one got fixed - and it got released in an
errata. Yay. Thank you!
*** This bug has been marked as a duplicate of 91279 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.