How to install magento in xampp localhost

Magento is a powerful ecommence platform that powers a lot of ecommerce sites. To intall this platform in localhost is a bit challenging. The following are steps to install magento 2 Requirements Apache 2.4 or 2.2 Mysql 5.7 Php 5.6 and above The above are found when you install xammp localhost(xampp

Last updated 30 Nov 2026Also in: Managed Applications

Magento is a powerful ecommence platform that powers a lot of ecommerce sites. To intall this platform in localhost is a bit challenging.

The following are steps to install magento 2

Requirements

  1. Apache 2.4 or 2.2
  2. Mysql 5.7
  3. Php 5.6 and above

The above are found when you install xammp localhost(xampp-win32-7.0.23-0-VC14-installer.exe).

To download it, https://www.apachefriends.org/de/download.html

  1. Install xampp in your computer

  2. Download magento 2

  3. Now go to xampp/htdocs and create a folder called magento

  4. Extract magento 2 in this folde

  5. Open xampp control panel\

  6. Click apache config and open php.ini

  7. Now search for extension=php_intl.dlland extension=php_xsl.dll, and remove the semicolon โ€œ;โ€ at the beginning from both.

  8. Start apache and mysql services after saving the changes in the php.ini

  9. Go to phpmyadmin (localhost/phpmyadmin)and create a database

  10. Open your browser and enter this on a new tab localhost/magento. Click Agree and Setup magento

  11. Localhost will perform a Readiness test after the successful click next.

  12. Now the database configuration pagewill appear. Here, enter database details and database name which will be the same as the one you created in phpMyAdmin (magento2). After completing this step, click on Next

  13. Now complete the web configuration, your store, and admin panel address. After web configuration, click on

  14. Now customize your store and click on Next.

  15. Create an Admin accountand click on

  16. All ready! Just hit the Install Now

  17. Open your store by exploring localhost/magento

  18. Open your admin panel by exploringlocalhost/admin and the following screen will appear:

  19. Enjoy magento.

Was this article helpful?