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
 [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: Thu Apr 18 01:01:28 2024 UTC