Internal Server Error help, 500 error

Internal server errors can be due to a few different factors. Please examine the Error Records in cPanel for a particular information.

Here are the most typical factors for 500 errors:

(1) Bad permissions, Writable by group

Directories and Folders must be -> 755. Exe programs within the cgi-bin directory must be 755. Pictures, press, and written text details like HTML should be 644.

(2) Bad .htaccess, Incorrect command


In the .htaccess file, you may have included lines that are either written poorly or inconsistent. The best way to repair this issue is to comment out the lines in the htaccess.

You can comment out a range of lines in the .htaccess by including # to the starting point. You must preserve an unique duplicate copy of any file before you create 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 begin with php_flag are the most typical errors. If you cannot decide which range is the issue, then comment out every range.

(3) Exceeding resources, nothing in the Error Log

It is possible your 500 error is occurring due to too many processes which got jampacked in the server queue.

With SSH (shell) accessibility, you can verify different processes operating on your account. Just type following command:

ps faux

Or follow this command(be sure to substitute login name with the real username):
ps faux |grep username

Once you have the procedure ID ("pid"), just type this to destroy the particular procedure (be sure to substitute pid with the real procedure ID):

kill -9 pid

Our server administrators, technical staff will be able to counsel you how to prevent this error. Please contact us through Ticket or Live Chat to get rid off this server error issues.
  • 12 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

Related Articles

Apache Handlers, running html as php

Apache handlers allow you to control what Apache will do with certain pc file types. When Apache...

PHP settings that cannot be changed

Shared, Reseller web host are shared surroundings and have certain boundaries on what you can...

What Do I Put for the Cron Job Command ?

Linux web hosting contains the following: Shared, Reseller, VPS and Dedicated. The instructions...

How to view website statistics in cPanel using AWStats

When you have a website, you may want to check on how many individuals are arriving to your...

Secure cPanel Login

Using Shared SSL to access cPanel: Simply use https and your IP address, with the secure...