How To Install Magento 2 on Windows

How To Install Magento 2 on Windows
COMMENTS (0)
Tweet

In the world of ecommerce, Magento framework is already a establish name. In past couple of years Magento gain immense popularity and that’s why it share a major chunk of ecommerce industry. magento tips and tricks Recently Magento launch its 2.0 community edition. Now let’s take a look how we can install it on windows. The Pre-requisites

Web Server

  • Apache 2.2 or 2.4
  • In addition, the apache mod_rewrite module must be enabled. mod_rewrite enables the server to perform URL rewriting.

 

Database

  • MySQL 5.6

 

PHP

  • 7.0.2, 7.0.6 up to 7.1 (all 2.1.x versions)
  • Latest version of php composer should be install on your machine.
  • Make sure that memory length should be set -1 in php.ini file.

For full prerequisites please refer Official Megento 2 documentation

Setup

Open up a command window and run the following command: composer create-project –repository-url=https://repo.magento.com/ magento/project-community-edition for example if you like to install magento in projects folder on C: drive then the command should be like composer create-project –repository-url=https://repo.magento.com/ magento/project-community-edition c:/projects/ magento After running this command, please provide username & password (username is the public key associated with your magento account and private key is act as a password). When magento setup files install successfully then open your mysql server and create a database by the name of magento_2.

Installation

Now open the browser and browser magento http://localhost//setup for example if you have created magento_2 alias in your wamp server then your browse url will be http://localhost/magento_2/setup Follow the instructions and install magento. When setup ask you database name please provide the name of the database with you have created above.

Sample Data

When the installation is complete please open command window and go to magento 2 installation directory and run the following command in command window. php bin/magento sampledata:deploy

Apply Theme

Now it’s time to apply theme to your magento store, so for that open command window and go to magento 2 installation directory run the following command in command window. php bin/magento setup:static-content:deploy Now hopefully your store will have sample data and also LUMA theme has been properly rendered. If sample data is not working properly only them run the following command in command prompt php bin/magento indexer:reindex.

If you have any Magento requirement related to Magento customization, development or migration from Magento 1 to Magento 2, please contact us at: https://www.folio3.com/contact-us/

CALL

USA408 365 4638

VISIT

1301 Shoreway Road, Suite 160,

Belmont, CA 94002

Contact us

Whether you are a large enterprise looking to augment your teams with experts resources or an SME looking to scale your business or a startup looking to build something.
We are your digital growth partner.

Tel: +1 408 365 4638
Support: +1 (408) 512 1812