Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Having trouble installing? On Apache and PHP 5? Try This…
Jr. Member
Total Posts:  12
Joined:  2008-01-19

Hi all - After a few days of attempting installation making changes, re-installing, searching forums, etc...I think I got a pretty good feel for it. The instructions below may not work for everyone, but hopefully with some luck it will help anyone still not able to install.

First, I recommend you check with your host provider or your server that you meet the requirements found here: System Requirements

Next, if you don’t have ssh access to your website, get this script: PHPsh
This script allows you to open your web browser and access your server shell without SSH.

From SSH(or PHPsh) verify you have a cgi-bin in your root directory of your website. If not, create one and type the following

cd /cgi-bin
wget (If you don’t already have it, i find this works very well even with PHP 5)
echo allow_url_fopen = on > php.ini
chmod 755 /cgi-bin
chmod 644 php.ini
chmod 750 php5-cgi
cd ../

Now from your root directory, I recommend using the installer version of magento, not the full. You can get it from your SSH by typing:

Alot of the problems with the install our due to permissions and the .htaccess file. So I will walk you through what you need:

From SSH: type unzip -o (you should now have a directory called magento created)

Create a new .htaccess, this is only time you really need to FTP a file over. The file should look like this:

<IfModule mod_php5.c>
php_flag magic_quotes_gpc off
php_flag short_open_tag on
php_flag display_errors on
php_value memory_limit 32M

Action php5-cgi /cgi-bin/php5-cgi
AddHandler php5-cgi .php

DirectoryIndex index.php

RewriteEngine on
RewriteBase /magento/
RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php

Use this .htaccess in replace of the one within the /magento root folder.

Change the following permissions in SSH by typing:

chmod -R 660 /magento/var
chmod -R 775 /magento/app/etc
chmod -R 775 /magento/media
chmod 660 /magento/.htaccess

Now your ready to start the install by going to

After you select your currency, it asks you which install you want to take. At this point, you can choose Beta or Alpha. Alpha actually works pretty good right now. The installer will download all the updates and tell you it completed.

On the next screen you may get an error, page could not be found. If so, re-upload your .htaccess and set the permissions on it in /magento

Then do a refresh on the error page and the install will continue. You will need to make sure you created your database and have a account with admin privileges setup, fill that info in here. If you have https, leave the default. Otherwise change the setting to port 80.

Uncheck the disable mod re-write for apache and check the skip URL validation, then continue install. Follow the remaining dialog(s) and install is complete.

Now you should be able to get to your front-end by going to

However, you may have problems getting to admin. This part can be tricky if you don’t know what your doing. There probally an easier way, but I found it easy enough to just delete the database you just created for magento completely and re-create it blank. Next time you open your front-end, the site will re-create the tables. Your admin section now works by going to

CAUTION: when you delete your database, you also delete your admin login you created within the install. Therefore, make an export of table admin_user. Then re-import it after tables re-created. Otherwise, the site does create a default admin account. Anyone what password is?

There you go, you now are up. You won’t see any products until you create a new category and product. On a final note, with this release you can only change a order to processed. They are still working on the order management system, so hopefully that will come soon.

Good Luck!

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top