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 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Related Articles

Apache mod_rewrite and Examples

Mod Reword allows you to change the URL that everyone recognizes when they check out your domain...

What is a Document Root folder?

The document root is the directory where you store your website files for a domain name. Since...

How to Connect to the MySQL Database

To work with the database in PHP, you must first connect the script to the MYSQL Database. We...

How do I backup / restore / move from one cPanel host to another?

How can I recover my web page with old/previous content?Please contact us through Ticket at...

How to Set Up a Redirect

    Log into cPanel.    Under Domains, simply select the Redirect...