Goto your cpanel
goto error handline
open error 500 . this will create a file 500.shtml
click the buttons above the file
and it will automatically put the code below into the file
then open your htaccess and then add the error code
ErrorDocument 500 /500.shtml
now when your server gets a 500 it with throw up some more useful stuff then the normal shitty error message