How to install Magento 2 on XAMPP windows?


How to install Magento 2 on XAMPP?

Written by  Sarah
Thursday, 24 December 2015 10:06

After the long-awaited time, Magento 2.0 has been finally released. It is considered a remarkable version with numerous changes compare to the previous version. Why don’t we find out how to install the Magento 2 software?

Magento 2

There are several ways to install Magento 2, and all of them offer their own benefits. But in this post we would like to bring to you a step by step guide to install Magento 2.0 with sample data on your local server.

1. Install XAMPP

The first steps lead us to the installation guide page. It is highly important to check whether your server suits minimal Magento 2 requirements:

  • Apache: 2.2 or 2.4
  • PHP: 5.4.11 or 5.5.x
  • MySQL: 5.6.x
  • Required PHP extensions: PDO/MySQL, mbstring, mcrypt, mhash, SimpleXML, curl, xsl, gd2, ImageMagick 6.3.7 (or later) or both, soap, intl

2. Install Composer

Download Composer-Setup.exe and install on local

Run Composer-Setup.exe file

composer setup

>> Click on NEXT to continue

composer setup

>> Click on NEXT to continue

composer setup

>> Select the path where php.exe is located with xampp: C:/xampp/php/php.exe and then click on Next button

composer installation

>> Choose Install

composer installation

>> Finish: If you see the window is the same as the following one, you installed Composer successfully.

composer installation

>> If you are facing with the problem related to shortage of media, please run the command: php bin/magento setup:static-content:deploy

composer installation

>> Once completed, you should get this screen

composer installation

3. Install Magento 2.0

>> Get Magento 2.0 from Magento: Alternatively you can download Magento 2 here.

>> Next, Log into MySQL to create database

create database

>> Then, open browser and go to: http://localhost/magento/magento20/ to start install Magento 2.0

install magento 2 step 1

Installation Run:

Follow this below steps to run Installation process

Step 1

>> Choose Start Readiness Check. After Start Readiness Check is completed, select Next

install magento 2 step 1.1

>> you need to click on “Start Readiness Check”. It maybe occur the error like the below image

install magento 2 step 2

>> You need to open your php.ini file and set always_populate_raw_post_data to -1.

install magento 2 step 2

Step 2

>> Enter server and database in step 2 and then click on Next


Step 3

>> Put your website link and continue to click on Next


Step 4

>> Customize your store: you can choose time Zone, Currency and Languages

magento 2 install step 4

Step 5

>> You need to Create Admin Account. Enter your information and move to the next step


Step 6

>> In this step, you should click on the button: Install Now

magento 2 installation

>> It will take some minutes to complete this installation process. If your window is the same as below, CONGRAT! You install Magento 2.0 successfully


If you have any queries, please send us your questions, our Magento expert will support you in any single step.

Thanks for reading!



magento 2.3 nginx 安装

在网上看了许多中文的magento2的安装教程,大多数都没有完整的安装步骤,本教程将教会你怎么使用和安装magento2.3 …


如果你忘记 Magento 用户名和(或)密码无法登陆后台,并且forgot your password链接无法给你发送找回密码邮件,这 …

magento backend dashboard can’t log in – session error





How to install Magento 2 on XAMPP windows?