How to install Magento 2 on XAMPP windows?

http://www.magentech.com/magento-2/useful-articles/item/588-how-to-install-magento-2-on-xampp

 

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: 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

magento2-install-step4

Step 3

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

magento2-install-step5

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

magento2-install-step6

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

magento2-install-step9

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忘记密码怎么办

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

magento backend dashboard can’t log in – session error

可能很多朋友有同样的经历,magento在服务器中配置域名是可以正常的访问了,但是在本地配置后却无法登录后台,账号密码登录的时候发现出现空白,无法跳转到后台,本文章向大家介绍两种解决本地magento后台无法登录的方法,需要的朋友可以参考下

暂无评论

发表评论

微信扫一扫,分享到朋友圈

How to install Magento 2 on XAMPP windows?