Install Magento 2 On Xampp

5 (100%) 1 vote
Install

How To Install Magento2 Sample Data On Xampp

XAMPP is the most popular local web development solution for Windows. How to install Magento 2 on localhost XAMPP with composer 1. Before we can let Magento 2 store goes live we need to test and build it on local host first, the most stable localhost software to install Magento 2 is XAMPP and WAMP. In this tutorial, I will show you how to install Magento 2 on localhost XAMPP.

When you finished 10 steps to install Magento 2 localhost with XAMPP, though having a successful notification, you still have a chance to face some errors, especially the layout crashing. According to our experiment, 70% Windows PCs can take the risk of encountering this error but mainly focus on Windows 10. The previous Windows versions such as Windows 7 and Windows 8 has a slightly chance to have layout crashing but it still worth to consider the solution.

Watch this video or read the tutorial below to fix this common error when installing Magento 2 on localhost.

Magento

It seems to look normal but it’s not

Magento logo is missing in backend interface

Xampp

The menu slide bar is not responding

Install Magento 2 On Xampp

The problem is due to unsuccessful symlink process when Magento 2 cannot use symlink to connect its modules and make them work. You can find more documents about the error by google these keywords “symbolic symlink in magento 2” or “Magento 2 cannot create symlink”.

These are 5 simple steps from Magestore to fix it. Hope this will help you!

Ye rishte pyar ke. Step 1 Download and install Notepad++ (Click here to download)

Install Magento 2 Xampp Windows 10

Step 2 Go to your Xampp folder > htdocs > mageto2 > app > etc and find “di.xml” file

access C:xampphtdocsmagento2appetc and find di.xml

Magento

Step 3 Click right mouse button at “di.xml” file and choose “edit with notepad++

Step 4 On Notepad++ window, scroll to the line “584” :

<item name='view_preprocessed'xsi:type='object'>MagentoFrameworkAppViewAssetMaterializationStrategySymlink</item>

On the line 584, modify the word “Symlink” into “Copy” and save the file

Step 5 Restart Apache and MySQL on XAMPP then access your localhost of Magento 2 website again and problem will be solved.