php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30988 Add support for throwing 500 Internal Server errors on PHP error
Submitted: 2004-12-06 00:02 UTC Modified: 2008-01-01 15:59 UTC
From: php at sharpdreams dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 + 14 = ?
Subscribe to this entry?

 
 [2004-12-06 00:02 UTC] php at sharpdreams dot com
Description:
------------
Currently, there is no way to reliably throw a 500 Internal Server Error (or any other error) on a fatal PHP Error.

The only temporary solution is setting the prepend & append to include HTML comments to comment out the error (<!-- -->). This is highly undesirable. Prepend/Append do not work with display_errors off (obviously).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-01 15:59 UTC] magnus@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Bug #41342
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 01:01:30 2024 UTC