How do I investigate 500 Error Messages?
I received a 500 error message for my website and I'm not sure why. Rebooting my server helped to resolve things. How can I investigate the cause of this error?
I would start with reviewing the error log file for your web service. Depending on which web service you are using and how the service is configured, the error log may reside under one of these directories:
I also recommend reviewing the system log files for additional insight. Some of the files that you can check are under the /var/log directory.
I also recommend checking to see if your server is running into a disk space or memory issue.