How to install Magento on XAMPP server

Magento is a popular eCommerce framework now. To start working with this CMS you have to install it in your web server properly. This tutorial will help you to install magento in XAMPP server.

Magento Installation steps:

1. Download the Magento zip file from the following url:

2. Unzip the Magneto file and copy into htdocs folder.

3. Open command prompt and change the directory

>cd C:\xampp\php

4. Run the following command

>php C:\xampp\htdocs\Magento\bin\magento setup:static-content:deploy -f

5. Open php.ini file and enable the following extension




6. Save php.ini file and restart Apache server

7. Create a database named magento in MySQL.

8. Open the following url in the browser and start the installation.


9. Do the following task if the admin panel of the magento doesn’t work properly

A. Go to the following path:


B. Open di.xml file for edit

C. Search the following line in the file:


D. Relace the line with the following line:



The video tutorial of this steps are given in the following link.


*************************Good Luck*************************