Possible Duplicate:
How to make PHP set HTTP status code to 500 automatically in case of any error condition? (including those that cannot be handled by user)
I want to configure Apache to send to the user a 500 response with a custom 500 page when a PHP script raises a fatal error. What I have now is that it will print the error inline with the page content which is good for development but not for production.
Nasıl kullanıcıya özel bir sayfa ile bir 500 yanıtı göndermek için Apache yapılandırma mı?