500 Internal Server Error

Internal Server Error help, 500 error

Internal server errors can be caused by a few different things. Please check the Error Logs in cPanel for specific information.

Alternatively, here are the most common reasons for 500 errors:

(1) Bad permissions

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

(2) Bad .htaccess

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

You can comment out a line in the .htaccess by adding # to the beginning. You are wise to save an original copy of any file before you make changes.

For example, if the .htaccess looks like

DirectoryIndex default.html
AddType application/x-httpd-php5 php

Then try something like this

DirectoryIndex default.html
#AddType application/x-httpd-php5 php

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

(3) Exceeding resources

It is possible your 500 error is caused by too many processes in the server queue.

With SSH (shell) access, you can view the processes running on your account. Simply type this command:

  ps faux

Or type this to view a specific user's account (be sure to replace username with the actual username):

  ps faux |grep username

Our server administrators will be able to advise you how to avoid this error. Please send email to support@betahost247.com along with the steps needed to see the 500 error on your site.

  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Cant Access My Site?

We receive lots of queries from our client saying that why i'm not being able to access my site....

How to Transfer cPanel Accounts from another Server?

This tutorial will show you how you can create FULL BACKUP and remotely upload this to your new...

How to Switch Hosts?

Switching to a new host can be a very smooth process or it can be very complicated. Following...

How to Transfer Email Accounts and Messages Between cPanel Servers?

If you want to transfer the email accounts and messages for a domain from one server to...

How to Block certain IP Address?

Web servers can host many different domains on one hosting account under Linux/Apache, and...