When you receive an error “Internal server error 500” on your site, you can check the error log in your cPanel for more information. To do this log in your CPanel, click on the “Error log” in Logs box and you will see a list of the last error messages displayed by your website.
In this list you will find detailed information about each error including:
1. the date and time of the error
2. some information about the client receiving the error
3. description of the error and information about which folder or file is enerating the error.
Such error message could be invoked by several reasons:
1. The script requires more than the usual time to be processed and is being killed by the server. In order to ensure the proper behavior of the other hosted accounts (if you are running on a shared hosting), most servers have set the TimeOut for their webserver to 10 secs.
2. There is an error within the programming code of the script in question. In this case it should be revised by a professional web developer who will be able to assist you further.
So the next time you are shown a “internal server 500 error” message when you browse to your own website, don’t panic. Look at your error logs and usually it will point to you where the problems are.