Sunday 22 November 2009

How to Install 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.
;extension=php_curl.dll
3) Restart your apache server

Create Magento database
1) Open a browser and navigate to http://127.0.0.1/phpmyadmin/
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 http://127.0.0.1/index.php
4) Follow the Magento install wizard

No comments:

Post a Comment

Please post any queries and comments here.