Notes on installing Magento on my personal computer so it works in localhost.
I have need of an online store, so I am trying to install Magento, which is a leading online store package.
The installation, including sample data is huge. About 500 megs. I will not be able to install it on my hosting company because they have a limit on the number of files and storage space.
I am having trouble installing it on localhost.
The first problem is to edit the .htaccess file and find where they have the magento root.
#RewriteBase /magento/
If you didn’t install it in a folder called magento then the installation won’t run and throws a 500 error.
I commented out lots of stuff, so I am timing out. Try not to change anything else in the .htaccess file.
I keep “trying again” on the install process and each time I get a little further along.
I have the feeling that this may not be a good thing.
One more try and if I don’t make it to the end I will try the version without the sample database.
I gave up and now I am working on the version without the sample database. It takes about 15 minutes to extract the zip on this machine. I think it is time to get a computer that is less than 10 years old.
OK, .htaccess fails with IfVersion directive. This probably means that my version of Apache is too old. I am deleting the section. (don’t do this – see below).
It remembered all my settings and failed trying to load samples. There is a config file hanging out that Magento must have created.
It is a browser cache issue. Something weird is happening. I switched from Firefox to Chrome and got further along. I am guessing that the installation drops a cookie so that a restart of the installation uses old data. This is not good.
It seems to have hung up at 5%. I am restarting everything and trying again.
I will update when I succeed or else give up.
update:
OK. I got things to work. Installation absolutely requires Apache MOD VERSION. In my configuration it is listed as just VERSION. When I enabled it, all the ifVersion errors went away and I was able to load the pages.
I put in the wrong password and locked my account. Because it is running on //localhost Magento cannot send an email reset to me.
Installation, including deleting old installs and databases, takes about an hour. I did the reinstall 4 times today and I’ve had enough.
I’ll try again tomorrow.