Our Feature Items: SM Market // SM AutoStore // SP Revo
Shopping cart (0)

How to install Magento 2 on XAMPP?

Rate this item
(1 Vote)
Written by  Sarah
Thursday, 24 December 2015 10:06
How to install Magento 2 on XAMPP? - 5.0 out of 5 based on 1 vote

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: https://www.magentocommerce.com/download. 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!

Related items (by tag)

Joomla TemplatesFree Joomla TemplatesVirtuemart TemplatesK2 TemplatesJoomShopping TemplatesHikaShop TemplatesSobiPro TemplatesOpenCart Themes
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết