Today I have installed magento2 in my local windows system with wamp server. SO I would like to share how I did all those process I mean how to install magento2 in localhost. Lets see all details to install magento 2. First thing before going to magento2 installation you need to check all the system requirement that magento2 required. Please take a look here System Requirement. So overall magento 2 requires
- Composer (latest stable version)
- Web servers(Apache 2.2 or 2.4) or more and the Apache mod_rewrite module must be enabled. mod_rewrite enabled.
- Database MySQL 5.6 (Oracle or Percona) or more
- PHP 5.6.x or 5.5.x or more
Required PHP extensions:
- gd, ImageMagick 6.3.7 (or later) or both
Those above requirements are required for installing in localhost for testing and learning porpose and all other will be availabel at magento2 official site.
2)Wamp server configuration:
so please make sure that you have enableld all libraries and modules in wamp server.So please take look on below images and compare with your wamp server whether all extention and libraries and enabled in your wamp server. I have already mentions all neccesary php extentions and apache module you can also take a look on that or just compare the below image.
Fnally modify max_execution_time and max_input_time variables in php.ini file with larger number lets say 1000 and xdebug.max_nesting_level = 400;
4)Download and Install Composer
Magento2 requres composer in order to fetch all maegnto2’s dependant libraries.you can download composer from here Download composer
5) Download magento2
Download magento2 from download.You can download simple setup files or download setup file with sample data.
create a follder named as magento2 in www directory and then after extract all those files in your magento2 folder in www directory.Please check below steps one by one after extraction completed to magento2 folder.
Put url in your browser as http://localhost/magento2/ in my case I have created as magento2 but in your case you can give any name and enter that in browser URL section, then after you will be getting a page like below image and click the “agree and setup magento” button.
In this setp magento setup check whether your system fulfilling all requirement or not. So before going for next step magento will check system requirements by “Start readingness check” if all requiement fullfilled then you will be allowed to go further else you have to check system requirement steps again. If allowed then you will be getting page like below image and then click on “next” button.
Enter database details with database user details
Either you can do setting for server configuration or better leave as it is and click on next button.
Set your timezone and currency here and also decide which Magento modules to install by clicking Advanced Modules Configurations See below image for more details.
fill all required fields and click on next
Now you are in final step so click on install button to mageno2. If you click on install button you will be getting installation process like below image. and at last success page like below image.
After final you will be getting admin page
and frontend page
Hope you installed mganeto2 successfully without any issue by reading “how to install magento2 in localhost” post
Latest posts by Jyotiranjan Biswal (see all)
- flush cache and reindexing programatically in magento 2 - July 3, 2017
- confirm change event on confirmation for a dropdown - November 17, 2016
- magento convert attribute type - June 11, 2016
- magento auto selected credit card type - May 12, 2016
- how to install magento2 in localhost - January 23, 2016