How To Install Magento 2 in Localhost Xampp

Install Magento 2 in LocalHost

Magento 2 is a powerful platform for ecommerce filled with an array of useful functions. The famous ecommerce CMS has hundreds of thousands of ecommerce stores installed on it.

But even so, in installation of Magento on localhost using XAMPP, several parties still face lots of problems.

Let’s learn how to resolve that issue, should we?

Requisites needed for the process are as follows:

  • Apache 2.2 or 2.4
  • PHP 7.0.13–7.0.x, 7.1.x.
  • MySQL 5.6, 5.7
  • Downloaded XAMPP

Then,

You need to know what Magento 2 installation specifications are. After installing one Magento 2 version, there will be a line below to tell you which Web server, database and php configuration you need for this version.

From this trustful and up-to-date source you can download Magento 2 from: UP-TO-DATE Magento Download (all versions of Magento 2).

Now go to xampp/htdocs and generate the directory ‘magento.’ Excerpt the Magento 2.2.6 archive in xampp/htdocs/magento.

Magento Folder

Update PHP (php.ini)

Then open your Control Panel in XAMPP.

XAMPP Control Panel

Tap Config on Apache, and then switch to PHP (php.ini).

XAMPP Configuration

Now check for extension = php intl.dll and extension = php xsl.dll, and delete the;” “semicolon from both at the top.

 

PHP Extension

 

PHP Extension Change

Start XAMPP control panel for the Apache and MySQL services.

Xampp Control Panel

Go to phpMyAdmin and create a database with the name magento2.

PHP My Admin

Open the web browser and explore localhost/magento. Then click on Agree and Setup Magento.

The first step for installing Magento 2 on localhost is to perform a Readiness check. After successful checking, click on Next.

Now you have to go through 6-stage Magento 2 installation process:

Magento 2 Installation ProcessNow complete the web settings, your store, and the address of the admin panel. After web settings, click Next.

Web Settings

Now customize your store and click on Next.

 

Customization

Create an account for the admin and press Next.

Everything is packed! Simply hit the Install key.

InstallationOpen your store by browsing localhost / magento and you’ll see the result:

Installation Done

You should be able to install Magento 2 on localhost using XAMPP, after following the above steps. Now start adding the products, and explore Magento 2’s awesome features.

Talk To Expert

Get our daily newsletter from kinex FoundernLoren Baker about the latest news in thenindustry!