PHP Fatal error does not result in HTTP error code 500. When PHP code throws a Fatal error, I would expect Apache to respond with HTTP 500, not a 200?
You should look into using the .htaccess file to control which responses you want your server to perform.
Answered by: Davey C
Comment on this Question and Answer >>>
ASK A QUESTION
More functions PHP Questions
How do I make a variable from outside a function work in that function?Can we use include ("abc.php") two times in PHP page "makeit.php" ?
WHAT IS THE CORRECT WAY TO OPEN THE FILE "time.text" AS READABLE?
How do I get a variable in a function to retain its value between calls?
How do I return a value from a function?
