If you get a 500 Internal Server Error when you visit your website, there are a few possible causes. Unfortunately, the 500 Internal Server Error is a vague error message, since it is used generically when no other error message is valid.

What is a 500 Internal Server Error?

The three common causes of this error message are:

  • Incorrect permissions settings, usually due to having a file as "world" writeable.
  • Incorrect permissions settings for use by another script (this is common with manual installs of forums or blogs)
  • Incorrect coding in the .htaccess file

How to Fix a 500 Internal Server Error

First, it is important to track down the exact cause of the error. To do this, log into your account's cPanel. Once in your cPanel, under Logs, click on Error Logs.


In this example, I have set a .php file to have permissions of 777 (world write-able), which is one of the causes of a 500 Error. In my Error Log, the following error was given:

[Fri Apr 08 06:08:14 2011] [error] [client] SoftException
in Application.cpp:264: File "/home/username/public_html/magento/index.php"
is writeable by others

To correct this error, I would go to the index.php file and change the permissions to 644. Also, here is a link to our guide on Managing Files on Your Server.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.