Occasionally we might come across 500 Internal Server Errors on our website. Are you getting the same error? If yes, let us find out how to fix this issue. Internal Server Error messages indicate a server-side error and there is something wrong with the server configuration. However, ensure that whether the problem still exists, by trying the following methods. Because this can be a temporary issue, may be due to browser cache or cookies.
- Reload the web page. You can try:
- Clicking the 'Reload this page' icon in the browser
- Pressing F5 key on the keyboard
- Enter the URL on the browser's address bar and load the page again.
- Clear your browser's cache.
- Delete your browser's cookies.
- Restart your browser
There are lots of reasons behind a 500 Error. However the most common causes are:
- Permissions Errors: An incorrect permission on one or more files or folders.
- PHP Timeout Issues: If your script connects to external resources timeout.
- A missing or erroneous .htaccess file
Here is the complete error message for reference:
How to fix 500 Internal Server Error on your site?
Let us find out the actual reason behind the internal server error in the server error log first. Follow the below steps:
- Login to your cPanel account.
- Click on the 'Error Log' icon under 'Logs' in the cPanel home page.
- Go through the errors logged.
From the error messages, we can identify whether internal server error occurred due to an incorrect permission or a PHP Timeout or the 500 server error caused due to missing/erroneous .htaccess file.