Home » Open Source

Magento: 500 Internal Server Error

28 July 2009 One Comment

While installing Magento when you done with uploading your Magento files to your host and about to make the Installation you come up with 500 Internal Server Error.

This error is bacause of the inappropriate file permissions. For this if you are on cpanel hosting, Error Log will really help solving/fixing this error.

Normally changing the file permission on index.php file solved this problem. If you check the error log you will find “/index.php” is writeable by group

So using CHMOD in Linux change the file permission on index file from 664 to 644.

Also if magento is installed in a folder e.g yourdomain.com/magento, in this case you will also change the permission on magento folder to 644.

Or using SSH run the following command

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

This will change the file permissions on all the folders to 755 and files to 644

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MySpace
  • LinkedIn
  • Technorati
  • Yahoo! Bookmarks

Post to Twitter Tweet This Post

One Comment »

  • Phantom said:

    Thanks a lot for sharing this nice information. I have faced this problem so many times and had to outsource this work to someone to fix this problem for me. Thanks again

    Like or Dislike: Thumb up 0 Thumb down 0

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Spam Protection by WP-SpamFree