HTTP Error 500 – Internal server error

May 18, 2009 – 07:56 by Support Staff

 

If you are receiving the error 500 it will be due to one of the following issues:

  • .htaccess

Check your .htaccess file for php_ commands. If you have any, add a # in front of the line or delete them. Then test your webpage. If you still have the error try removing everything from your .htaccess file. If that resolves the issue add the .htaccess lines back one at time until you find the bad line.

If these steps do not resolve your issue try the next steps.

  • File and folder permissions

Check your files and folders to make sure you don’t have any files with the permission 666 or folders with the permission 777.

 

Those permissions are not needed onĀ our servers. We run suPHP which allows you to make files writable without creating the major security hole that occurs when using the permissions 666 and 777.

 

The correct permissions should be:

Folders: 755

Files: 644

Files that need to be unwritable: 444

  • MIME-Types

If you added a MiME-Type to the system in order to run html files as php scripts, you will have to remove it and add an ApacheHandler instead.

 

Log into cPanel, then click on Apache Handlers and add the following:

Handler: application/x-httpd-php

Extension(s): .html

 

Sorry, comments for this entry are closed at this time.