screen shot of magento forum discussion

Fix the 403 Forbidden Error When Installing Magento CE 1.9.1.1

I was recently preparing a new installation of Magento CE version 1.9.1.1 via SSH, but after using wget to pull down the file system and going through the standard permissions settings as described in the Magento wiki article, I could not access the browser-based installation process. All I could get was a 403 permission error. It didn’t take much Googling around to discover that this issue is not unique to me. Maybe it’s due to something happening in transmission/extraction or maybe there is something wrong in the file system to begin with; either way the permissions settings are not correct somewhere in the file system.

Thankfully, it’s an easy fix via SSH. Make sure you’re in the root directory of your Magento installation, and then execute the following commands:

find ./ -type f | xargs chmod 644
find ./ -type d | xargs chmod 755
chmod -Rf 777 var
chmod -Rf 777 media

Clear your browser cache and reload the URL of your Magento instance. At this point you should be able to continue with the browser-based installation process and begin setting up your store.

Published by

Brian Lyman

Brian is the founder of Vale Studios, which is really just a stage name for what has been a great experience in freelancing. Brian is currently working under a dedicated contract for a terrific e-commerce retailer, but he uses this space to continue publishing ideas and reflections related to e-commerce, marketing, and Magento.

4 thoughts on “Fix the 403 Forbidden Error When Installing Magento CE 1.9.1.1”

  1. Hi what file would you put the
    find ./ -type f | xargs chmod 644
    find ./ -type d | xargs chmod 755
    chmod -Rf 777 var
    chmod -Rf 777 media
    code into?

    thanks I am having this problem and its driving me insane

    1. Hi Paul. Those are actually shell commands which you enter via the command line; they are not lines of code to be saved in a file. If you’re not familiar with using SSH, I recommend that you do some reading before giving it a shot.

  2. Thnak you So much i was facing the same problem and it was resolved when l have login to filezilla but it was permission issue only.
    Thanx for the post :-)

Leave a Reply

Your email address will not be published. Required fields are marked *