Apache custom 500 error not showing after php syntax error
I have Apache set up to display custom error pages for the most common http errors. All of them are working fine except the 500 error. When a php script crashes, I should get a 500 error, and I do, just the wrong one. Apache's standard 500 error message shows, instead of my custom one.
When I go directly to the error page from a browser, it shows up just fine.
All of the error pages are created in a php file, to give more useful information than a static page. Could this be why it doesn't show up when a script dies because of a syntax error?
Last edited by vockleya; 08-11-2011 at 11:35 AM.