Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0006395: Apache returns HTTP 200 response instead of 500 on PHP fatal error

$
0
0
When a PHP script has a fatal error (such as a syntax/parse error), apache returns a 200 response to the client, while it should return a 500.<br /> <br /> The error is correctly logged in error_log, but the response is 200 and I can see it both at the client side and in access_log.<br /> <br /> I think this has started happening after upgrading from 5.6 to 5.9 (yum update), so this seems to be a regression, though I'm not 100% sure

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>