Sunday, June 22, 2008

Installing Magento on XAMPP in XP


(UPDATED-03.25.09) - I have started using WAMP. Magento has a nice install guide on their wiki. The guide covers both XAMPP and WAMP but I've been having problems getting v1.2 or newer of Magento to work with XAMPP. Thus the switch to WAMP. So far I am liking WAMP better.

XAMPP is an easy to install LAMP environment used for testing. Magento is an open source ecommerce package. You should already have XAMPP installed and a copy of Magento. Start Apache and MySql if not already running.

Enable curl in XAMPP
1) Locate the following files:
     C:\Program Files\xampp\apache\bin\php.ini
     C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini

2) Uncomment the following line on the php.ini files by removing the semicolon.
3) Restart your apache server

Create Magento database
1) Open a browser and navigate to
2) Create a new data base named magento

Install Magento
1) Extract the Magento-1.0.19870.4. zip file
2) Copy the extracted files to the httpdoc folder of XAMPP (rename any exsisting index files for your XMAPP install)
3) Navigate your browser to
4) Follow the Magento install wizard


smjones316 said...

Apache keeps crashing at he page were you fill the information about the name of the database and you validate (local host, root, name of db) well Apache crashes. Always at the moment.

Subramanian Vallinayagam said...

To fix apache crash: pls check

sukumar said...

It's nice post. Magento eCommerce
open source is future rich and now a days more installing to enterprise.Magento eCommerce

DigitalPerspective said...

i build the database. must i select colation? what data table needed? thnaks in advance.. this blog is helpful

Eric said...

I will no longer be updating this post. I have started using the Magento Appliance from and VirtualBox.

Unknown said...

This is very useful and can make it so much easier when you are trying to implement magento. I love it how there are so many tutorials to help you implement this stuff because it can get sticky. If you are still having trouble with your magento development I would suggest getting a professional to help out.

LOP said...

Very nice guide thanks for sharing.

Magento Themes

Andie said...

Great Read! I am impressed on how you make your article easy to understand. I'll come back for more :D

Japs Buidon is a Social Media Specialist and belongs to a team of Magento Developer in Florida. For more tutorial and tips you can follow him here ->