|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 15:03:36 2021 UTC