magento 2 install on xampp localhost

Magento 2 is a powerful ecommerce platform loaded with an arsenal of useful features. There are hundreds of thousands of ecommerce stores built on the popular ecommerce CMS. However, many people face issues in installing Magento 2 on localhost.

Magento 2 comes with many requirements. Magento 2 requires a lot of server configurations and tweaking along with composer setup which are not set by default. Let me clear this for a lot of those who are wondering why composer is really a need in Magento 2. Composer enables us to manage the Magento system, extensions, its dependencies, and also allows us to declare libraries for the project. In this article, I will explain how you can install Magento 2 on your localhost by using XAMPP. 

In this tutorial, I am going to teach you how to install Magento 2 on localhost. Magento is releasing updated versions of Magento 2 day-by-day. Hence, I am going to install Magento 2.1.4 on my localhost using XAMPP for this tutorial. 

Before you start your installation, you need to have these things on hand 


1: XAMPP Server installed in your computer.

2: Magento 2 Downloaded (You can download Magento 2 from this link)

Magento 2 has some installation requirements like:

  • Apache 2.2 or 2.4
  • PHP 5.6.5–5.6.x, 7.0.2, 7.0.4, 7.0.6–7.0.x
  • MySQL 5.7

To read more requirements, click here

  • Open your XAMPP server and start Apache and MySQL applications
  • Extract Magento 2 files in your xampp/htdocs folder
  • Enter your Magento 2 URL in browser e.g. localhost/magento2

Click on Apache’s Config and then navigate to PHP (php.ini).

PHP: How do I install soap extension ?

Note First of all stop the xampp/wamp and then kindly remove the starting semicolon ( ; ) from your xampp/php/php.ini the following all code.

Find ;extension=php_soap.dll in php.ini and remove the semicolon(;) 

How to install pdo_mysql on Windows

Find : 



Change To:



How can i enable PHP Extension intl ?


PHP xsl extension missing Magento readiness check

Find ;extension=php_xsl.dll line and remove ( ; )

Viewed 231 Times

Post On 2022-12-03