Internal Server Error Help, 500 Error

Internal Server Error help, 500 Error

Internal server errors can be caused by a few different things. The most common reasons are noted below:

1.Bad Permissions, Writeable by Group See Below

2.Bad .htaccess, Invalid Command See Below

There are steps to take to find out what is causing the errors. To begin troubleshooting:

1.Log into cPanel.

2.In the Logs section, click the Error Log icon.

This log will display the last 300 Error Log messages in reverse order. If the Error Log doesn't provide any indication of the issue, try troubleshooting by following the suggestions listed below.


Bad Permissions, Writeable by Group

To troubleshoot this error, check your file permissions.

1. In cPanel, in the Files section, click File Manager.

2. Select the button for Web Root (public_html/www).

3. Place a check mark in the box titled Show Hidden Files (dotfiles).

4. Click Go.

5. Review the numbers listed under the Perms column in File Manager.

  • Directories and folders should be set to 755.
  • Executable scripts within the cgi-bin folder must be set to 755.
  • Images, media, and text files like HTML should be set to 644.



Bad .htaccess, Invalid Command

In the (dot) htaccess file, you may have added lines that are either worded incorrectly or conflicting with other coding in the file. The best way to troubleshoot this is to comment out the lines in the .htaccess file.

EAC Directory; Internal Server Error

You can comment out a line in the .htaccess file by adding # to the beginning of that particular line. For example, if the code in the .htaccess file looks like:

EAC Directory; Internal Server Error

Then, try commenting it out like so:

EAC Directory; Internal Server Error

Broken lines and lines that start with php_flags are the most common mistakes. If you cannot determine which line is the problem, then comment out every line.

After commenting out a line, refresh the site to see if the issue has been resolved. If it has, that confirms that the issue was in that particular line of code in the .htaccess file. If the issue has not been resolved, continue troubleshooting by commenting out additional lines and checking the site.

Was this answer helpful?

 Print this Article

Also Read

503 Service Temporarily Unavailable

When this error occurs, then log onto cpanel > Statistics > CloudlinuxCheck CPU USAGE if it...

500 Internal Server Error

The 500 Internal Server Error is a very general HTTP status code that means something has gone...

Powered by WHMCompleteSolution