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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at sharpdreams dot com
New email:
PHP Version: OS:

 

 [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 12:01:31 2024 UTC