500 Internal Server Error help

First remember that “Internal Server Error” does not mean a server problem. It implies an “internal” problem inside of your own hosting space and files. Here is a quick overview of what will solve this problem, and then followed by step by step on how to do it:
 
1. .htaccess file has problems
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.
 
2. Bad permissions, Writable by group
One or more files or folders have permissions higher than 755, which is not allowed by the server. Any software that says you need 777 will work with 755 on our server.
 
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.
 
3. Your PHP version is wrong inside the “PHP Configuration” section.
 
4. Your username does not own the folder or files.

Was this answer helpful?

 Print this Article

Also Read

How do I create a MySQL database, a user, and then delete if needed?

Your cPanel allows you to easily create a MySQL database, create database users, and assign...

What is the difference between parked, addon, and subdomains?

A Subdomain A subdomain is a second website, with its own unique content, but there is no new...

Common Error Page Codes

What are Error Codes? These numbered error codes are how the server tells website visitors about...

How to create an email account?

To create an email account:1. Login to cPanel and click Email Accounts.2. Fill in the name you...

How to redirect HTTP traffic to HTTPS using an .htaccess file

The below code when added to an .htaccess file will automatically redirect any traffic destined...