I have my website code in codeigniter wherein I am fusing images using Imagick in php.There are a lot of functions which can generate the 500 HTTP error
.I require a
Codeigniter actually has a custom 500 error page. If you find your getting a generic 500 error page, it could be Apache overriding the codeiginter 500 error page.
You could override it in the .htaccess to direct it to your own custom 500.html, but then you will miss out on any of the error information provided by codeiginter:
ErrorDocument 500 /errors/500.html
You could also edit the codeiginter 500 error page found in /application/errors/
. I think it is the error_php.php
file.