Magento installation with XAMPP

1. Install XAMPP from
Once you installed XAMPP, it will be located here C:\xampp
It will have the apache server, Mysql, php bundled together

2.Download magento community version and the sample data from

3.Unzip the magento community to a location, where the apache server points to.
If you unzip the magento to C:\DEV\magento, this will be the home directory for your Magento website. Open the apache httpd.conf file from xampp control panel, and add this to the end of the file. Restart Apache afterwards.

Listen 88
<VirtualHost *:88>
    DocumentRoot "C:\DEV\magento"

<Directory "C:\DEV\magento">
    Options +MultiViews +FollowSymLinks
    AllowOverride All
    <IfVersion < 2.3 >
    Order allow,deny
    Allow from all
    <IfVersion >= 2.3>
    Require all granted

4.Open cmd, cd (change directory) to C:\xampp\mysql\bin

Type the following to open mysql, when asked for password, just press enter:

  mysql -u root

After you get into mysql, run the following to create a database.

  use magento;

Execute the sql script that came with the sample data you downloaded from Magento.

  source C:\Users\codexer\Documents\projects\magento\magento_sample_data_for_1.6.1.0.sql

5. Open the browser, go to the address http://localhost:88/, it should show you a Magento installation page, and you can go through the steps to install Magento.

Search within Codexpedia

Custom Search

Search the entire web

Custom Search