|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36636 Fatal, compiler and related errors return a HTTP status code of 200.
Submitted: 2006-03-06 20:33 UTC Modified: 2018-05-05 18:01 UTC
Avg. Score:4.7 ± 0.6
Reproduced:19 of 19 (100.0%)
Same Version:13 (68.4%)
Same OS:15 (78.9%)
From: jonnay at jonnay dot net Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 5.1.2 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.
Bug Type:
From: jonnay at jonnay dot net
New email:
PHP Version: OS:


 [2006-03-06 20:33 UTC] jonnay at jonnay dot net
When a script is executing, and an E_ERROR or an E_PARSE error occurs (and perhaps E_CORE_ERROR, E_COMPILE_ERROR), an HTTP status code of 500 should be sent (when possible), rather then a 200, because the server has in fact encountered an internal error, and everything is not actually OK.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-18 12:51 UTC] tyra3l at gmail dot com
this is implemented yet imho.
there is a bug with xdebug:
 [2018-05-05 18:01 UTC]
-Status: Open +Status: Duplicate -Package: Feature/Change Request +Package: *General Issues
 [2018-05-05 18:01 UTC]
See bug #50921.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 18:05:52 2022 UTC