Schogini is Magento2 ready. Are you?

Get started with Magento 2 | Need expert Magento2 support?

Magento 2 Alpha Installation on Windows

Posted on March 24, 2015 at 9:00 PM by Schogini

1. Environment Setup

Minimal Magento 2 requirements

  • Apache: 2.2 or 2.4
  • PHP: 5.5.x or 5.6.x
  • MySQL: 5.6.x

Tips: Download XAMPP 5.6.3, that will meet all the above requirements.

Register for a GitHub account

You will need to generate a token in GitHub and use it while installing Magento 2. So, ensure you have already registered for a GitHub account

2. Install Composer

Download Composer-Setup.exe file from following URL and install it:

Select the location of php.exe file: (C:\xampp\php\php.exe)

Click on Next button

Click on Install button

Click on Next button

Click on Finish button

Download Magento2 Installation Files

Download Magento2 installation files from github. URL: Unzip and put magento folder in xampp/htdocs folder.

Create Composer files

We have to create two files: composer.bat and composer.phar

Open Command Prompt and Change directory (cd) to maganto2 installation directory (here it is c:/xampp/htdocs/magento2) and execute following command to create composer.bat file:

echo "@ECHO OFF" "php '%~dp0composer.phar' %*" > composer.bat

After that, you have to create the second file “composer.phar” . Execute the following command which will create the file for you:

php -r "readfile('');" | php

It will create a composer.phar file.

Execute composer install command

Before executing the composer install command you have to open c:/xampp/php/php.ini file and uncomment the following dll:

extension=php_intl.dll(i.e. remove semi-colon(;) from the beginning), restart apache server (c:/xampp/ apache_start.bat or apache_stop.bat) whenever you make any change in php.ini file. After that, you have to execute composer install command:

composer install

It will prompt for github username and password:

Installation completed. Now you can start install Magento 2 using a browser.

3. Magento 2 Installation

Open your browser and browse http://localhost/magento2/

Start Installation

Click on "Agree and Setup Magento" Button

Click on "Start Readiness Check"

In order to solve this issue, we have to open the php.ini and locate “always_populate_raw_post_data” . Remove semi-color from the beginning, if it is there and change it to following: always_populate_raw_post_data = -1

Don’t forget to restart apache server after you made changes in the php.ini file, Click on "Try Again" button.

Click on "Next" button and enter your database details such as database name, MySql username, password, table prefix etc.

Click on "Next" button

You can change default store url as well as admin url. Advanced options will have following:

Keep it like this. Click "Next" button

Select default timezone, currency and language. Click "Next" button

Enter admin account details to manage your store. Click "Next" button

Now you are ready to start installing Magento 2 by clicking "Install Now" button

It may take a few minutes to complete installation and get a screen like above. Click on Store Address to see the frontend and click on To Admin Address to go to admin dashboard.

Click on admin address link and you will get a login page like following:

Enter admin username and password and click on "Sign in" button. If username and password are correct, you will get an admin dashboard like this:

Please go through our video tutorial on installing Magento 2 on Windows 7

That's it

Schogini's customer service extends beyond the natural boundaries. ~ Timothy Johnson

Schogini assures 24x7 - 6 hour turn around ticket response time and 24 hour Email response time (