From:             jeroen at terena dot nl
Operating system: Debian Linux
PHP version:      5.1.0RC1
PHP Bug Type:     Reproducible crash
Bug description:  apache crash / error on php error document

Description:
------------
Please see http://bugs.php.net/bug.php?id=33987

I'm still experiencing the same bug in 5.1RC1

Any custom error document other than a PHP document works. If I use a PHP
document no code gets executed it  just seems to ignore the error
document. Occaisionally I get an even  weirder response like Apache trying
to send the original file (jpeg in my case) anyway. This ofcourse doesn't
work.

I'm using PHP5.1RC1, Apache2 on Debian Linux.

Reproduce code:
---------------
.htaccess

ErrorDocument 404 /404.php

404.php
can leave it empty

Expected result:
----------------
empty page or whatever code was put in 404.php

Actual result:
--------------
nothing.
displays referring page in mozilla. 
IE shows its "page could not be displayed" document.

-- 
Edit bug report at http://bugs.php.net/?id=34249&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34249&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34249&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34249&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34249&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34249&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34249&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34249&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34249&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34249&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34249&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34249&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34249&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34249&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34249&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34249&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34249&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34249&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34249&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34249&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34249&r=mysqlcfg

Reply via email to