Posted on March 24, 2015 at 9:00 PM by Schogini
Tips: Download XAMPP 5.6.3, that will meet all the above requirements.
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
Download Composer-Setup.exe file from following URL and install it: https://getcomposer.org/doc/00-intro.md#using-the-installer
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 from github. URL: https://github.com/magento/magento2. Unzip and put magento folder in xampp/htdocs folder.
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('https://getcomposer.org/installer');" | php
It will create a composer.phar file.
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:
It will prompt for github username and password:
Installation completed. Now you can start install Magento 2 using a browser.
Open your browser and browse http://localhost/magento2/
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
Schogini assures 24x7 - 6 hour turn around ticket response time and 24 hour Email response time (email@example.com)