{"id":2524,"date":"2020-03-03T15:46:04","date_gmt":"2020-03-03T07:46:04","guid":{"rendered":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/?p=2524"},"modified":"2020-06-18T17:36:05","modified_gmt":"2020-06-18T09:36:05","slug":"install-magento-2-windows-localhost-xampp","status":"publish","type":"post","link":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/","title":{"rendered":"How to correctly install Magento 2 on Windows localhost with XAMPP"},"content":{"rendered":"<p>Installing Magento on Windows localhost can be a massive headache. As it does not support &#8220;officially&#8221; support the Windows platform. That&#8217;s pretty bad news for us <a href=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\">Web Developers<\/a> that are used to working on a Windows platform. But, of course, there&#8217;s still a way. If you are here because you need to set up a <a href=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/web-development\/\">Magento development<\/a> environment on Windows (error free), this guide is written specially for you! Note that this is for building a development environment on your local machine and not suitable for deployment.<\/p>\n<p>For the uninitiated, <a href=\"https:\/\/magento.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Magento<\/a> is a leading eCommerce software build with the Zend Framework, which <a href=\"https:\/\/www.bloomberg.com\/news\/articles\/2018-05-21\/adobe-buys-magento-for-1-7-billion-to-boost-commerce-ambitions\" target=\"_blank\" rel=\"noopener noreferrer\">Adobe acquired in 2018<\/a>. Following the acquisition, Magento is offered as a cloud and licensed versions. But the community version is still available to download. According to <a href=\"https:\/\/www.datanyze.com\/market-share\/e-commerce-platforms--6\/magento-market-share\" target=\"_blank\" rel=\"noopener noreferrer\">Datanyze<\/a>, as of March 2020, Magento market share in the eCommerce market is 3.96%.<\/p>\n<p>Ok enough of background lets get on with it. In this guide on how to install magento 2 in localhost xampp, we will be using the Chrome Web browser on Windows 10. Let&#8217;s get started.<\/p>\n<div class=\"advert-container\"><span>Advertisement<\/span><div class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div  class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div style=\"clear:both\"><\/div><\/div>\n<h2>Magento Localhost installation Guide for Windows XAMPP<\/h2>\n<p>Firstly, understand that Magento requires specifically, Apache (or Nginx), PHP and MySql Database to run. We cannot use Windows IIS Server with PHP and MySql installed. Apache is a must in this case. Therefore, we must use a prepare a <a href=\"https:\/\/stackoverflow.com\/questions\/10060285\/what-is-a-lamp-stack\" target=\"_blank\" rel=\"noopener noreferrer\">&#8220;LAMP&#8221; stack<\/a> or in this case a &#8220;WAMP&#8221; stack localhost environment. In this case we choose to use XAMPP. XAMPP is a software that emulates a linux environment for your development with the dependencies PHP and MySql installed.<\/p>\n<h3>Step 1: Install XAMPP<\/h3>\n<figure id=\"attachment_2535\" aria-describedby=\"caption-attachment-2535\" style=\"width: 600px\" class=\"wp-caption alignnone\"><img fetchpriority=\"high\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-download.jpg\" class=\"wp-image-2535 size-full lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"XAMPP Donwload Page\" width=\"600\" height=\"400\" \/><figcaption id=\"caption-attachment-2535\" class=\"wp-caption-text\"><noscript><img decoding=\"async\" class=\"wp-image-2535 size-full\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-download.jpg\" alt=\"XAMPP Donwload Page\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-download.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-download-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript> <em>XAMPP download options<\/em><\/figcaption><\/figure>\n<p>Proceed to the <a href=\"https:\/\/www.apachefriends.org\/download.html\" target=\"_blank\" rel=\"noopener noreferrer\">XAMPP download page<\/a>.\u00a0 As of writing, Magento 2.3X recommends using PHP version 7.3. So lets download the package marked as version 7.3.14 \/ PHP 7.3.14. Then, install the package by running the installation file.<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-installation.jpg\" class=\"alignnone size-full wp-image-2536 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"XAMPP - Install components\" width=\"600\" height=\"500\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2536\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-installation.jpg\" alt=\"XAMPP - Install components\" width=\"600\" height=\"500\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-installation.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-installation-300x250.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>We do not need FTP server, Tomcat server and Webalizer, so you can go ahead and uncheck those options. Next follow the on screen instructions to complete the installation.<\/p>\n<h3>Step 2: Start up the XAMPP Control Panel<\/h3>\n<p>Somehow my installation of XAMPP does not add the program to the start menu or Desktop icon. If you have a similar problem, locate the XAMPP installation folder you defined during the installation process. By default, it should be located at C:\\XAMPP. Locate the file xampp-control.exe.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-run-as-admin.jpg\" class=\"alignnone size-full wp-image-2534 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"XAMPP - Run as Administrator\" width=\"600\" height=\"200\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2534\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-run-as-admin.jpg\" alt=\"XAMPP - Run as Administrator\" width=\"600\" height=\"200\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-run-as-admin.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-run-as-admin-300x100.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>To avoid some pesky permission problems later on, always run XAMPP as Administrator when starting the program. You can do this by right-click to open the context menu and select &#8220;<a href=\"https:\/\/www.techspot.com\/guides\/1718-run-as-administrator-explained\/\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Run as Administrator<\/em><\/a>&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-error.jpg\" class=\"alignnone wp-image-2537 size-full lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"XAMPP Blocked Port Error\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2537 size-full\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-error.jpg\" alt=\"XAMPP Blocked Port Error\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-error.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-error-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Start the Apache Service by clicking on the &#8220;Start&#8221; button indicated next to &#8220;Apache&#8221;. If you encounter problem with an error message similar below, don&#8217;t fret. It means that there is a conflicting application that is using ports 80 or port 443. You can resolve this by stopping the conflicting services. Usually, the offending application is Skype, IIS or <a href=\"https:\/\/www.iis.net\/downloads\/microsoft\/web-deploy\" target=\"_blank\" rel=\"noopener noreferrer\">Web Deploy<\/a>. Close or stop these services from running and try again.<\/p>\n<div class=\"advert-container\"><span>Advertisement<\/span><div class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div  class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div style=\"clear:both\"><\/div><\/div>\n<h3>Step 3: Configure PHP.ini<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-php-config-1.jpg\" class=\"alignnone size-full wp-image-2541 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2541\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-php-config-1.jpg\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-php-config-1.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/xampp-php-config-1-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Now we are going to setup the environment variables in PHP. To do so, click on Config in the control panel and choose &#8220;PHP (php.ini)&#8221;. This will launch notepad and open the php.ini settings file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/php-ini-file-config-1.jpg\" class=\"alignnone size-full wp-image-2542 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"\" width=\"600\" height=\"500\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2542\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/php-ini-file-config-1.jpg\" alt=\"\" width=\"600\" height=\"500\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/php-ini-file-config-1.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/02\/php-ini-file-config-1-300x250.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Here&#8217;s a few settings that you should do<\/p>\n<p><strong>Set the &#8220;memory_limit&#8221; variable to 2G<\/strong>. A lower memory causes Magento to slow down quite a fair bit. Giving a higher memory limit can resolve the slow Magento issue. Although Magento can still run at a lower memory limit, an extremely slow and clunky installation is a good waste of development time. So go ahead and set this up.<\/p>\n<pre>memory_limit=2G<\/pre>\n<p>Find and uncomment the\u00a0 line &#8220;extension=intl&#8221; by removing the semi colon sign &#8220;;&#8221; in front of the line. Do the same for &#8220;extension=xsl&#8221;.<\/p>\n<pre>extension=xsl\r\nextension=intl<\/pre>\n<p>Save the changes and restart Apache by restarting the service. <strong>Magento requires MySql Service<\/strong> to run so let&#8217;s start MySQL as well.<\/p>\n<p>At this point, you shouldn&#8217;t have any errors with Apache or\u00a0 MySql errors. Type &#8220;localhost&#8221; on your browser to check if services running fine.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/xampp-working.jpg\" class=\"alignnone size-full wp-image-2546 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"XAMPP Dashboard\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2546\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/xampp-working.jpg\" alt=\"XAMPP Dashboard\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/xampp-working.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/xampp-working-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<div class=\"advert-container\"><span>Advertisement<\/span><div class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div  class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div style=\"clear:both\"><\/div><\/div>\n<h3>Step 4: Set up a Database and user privileges<\/h3>\n<p>Next, we need to set up a database. From the dashboard, simply click on the phpMyAdmin link on the top bar.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-creatdb.jpg\" class=\"alignnone size-full wp-image-2547 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2547\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-creatdb.jpg\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-creatdb.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-creatdb-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>From here click on &#8220;New&#8221; and then give the database a name. Click on &#8220;Create&#8221; to proceed. And Voila! Your database is created.<\/p>\n<p>Note that the default user login is &#8220;root&#8221; and password is &#8220;&lt;blank&gt;&#8221;, as in no password. And since we are working on a local machine, there&#8217;s technically no need to create new user for our Magento install. But this irks me a little bit, so lets go create a new user and password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-userlink.jpg\" class=\"alignnone size-full wp-image-2548 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"PHPMyAdmin - Creating user\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2548\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-userlink.jpg\" alt=\"PHPMyAdmin - Creating user\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-userlink.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/pypmyadmin-userlink-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Click on the User Accounts tab, scroll down and you&#8217;ll find the &#8220;Add User Account&#8221; Link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-login-info.jpg\" class=\"alignnone wp-image-2549 size-full lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"PHPMyAdmin - Create User Information\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2549 size-full\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-login-info.jpg\" alt=\"PHPMyAdmin - Create User Information\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-login-info.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-login-info-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Insert your preferred user name and passwords, as shown above. Scroll down and click on &#8220;Go&#8221; to complete the process. Do jolt or copy the password credentials somewhere as a reminder. You will need this information to install Magento.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv.jpg\" class=\"alignnone size-full wp-image-2550 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"PHPMyAdmin - Assign Database\" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2550\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv.jpg\" alt=\"PHPMyAdmin - Assign Database\" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Now, click on &#8220;Database&#8221; and select you Magneto Database and click on &#8220;Go&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv1.jpg\" class=\"alignnone size-full wp-image-2551 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"PHPMyAdmin -Assign Privileges \" width=\"600\" height=\"400\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2551\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv1.jpg\" alt=\"PHPMyAdmin -Assign Privileges \" width=\"600\" height=\"400\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv1.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/phpmyadmin-assign-priv1-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>And Assign all privileges. Click &#8220;Go&#8221; to complete. Now lets go install Magento proper.<\/p>\n<div class=\"advert-container\"><span>Advertisement<\/span><div class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div  class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div style=\"clear:both\"><\/div><\/div>\n<h3>Step 5: Download Magento Community Version<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-download.jpg\" class=\"alignnone wp-image-2555 size-full lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"Magento install: Download\" width=\"600\" height=\"200\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2555 size-full\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-download.jpg\" alt=\"Magento install: Download\" width=\"600\" height=\"200\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-download.jpg 600w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-download-300x100.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/noscript><\/p>\n<p>Head to the <a href=\"https:\/\/magento.com\/tech-resources\/download\" target=\"_blank\" rel=\"noopener noreferrer\">Magento download page<\/a>. There are 2 versions that you can choose. Firstly, the &#8220;Full Release (ZIP with no Sample Data)&#8221; Package or the &#8220;Full Release with Sample Data&#8221;. If you are new to Magento, the package with Sample Data can be very helpful to aid your development. Choose either package in the format you prefer. In our case we choose the Zip format, so that we do not have to additional software.<\/p>\n<p>Next Create a project sub folder within the XAMPP htdocs folder. For example, c:\/xampp\/htdocs\/magento. Unzip the contents of the installation package in this folder. This may take more than a few minutes there are tons of files to be extracted.<\/p>\n<h3>Step 6: Run the installation setup script<\/h3>\n<p>After extracting the package, run the install script by typing the installation address in your browser. For example, if you have extracted the package in c:\/xampp\/htdocs\/magento, then your web address is http:\/\/localhost\/magento.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-readiness-check-1.jpg\" class=\"alignnone wp-image-2561 size-full lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"Magento install: Readiness Check\" width=\"741\" height=\"750\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2561 size-full\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-readiness-check-1.jpg\" alt=\"Magento install: Readiness Check\" width=\"741\" height=\"750\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-readiness-check-1.jpg 741w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-readiness-check-1-296x300.jpg 296w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/noscript><\/p>\n<p>Upon running the install, Magento presents you with a readiness check screen. This process checks if all the required PHP extensions and in properly set up. If you face any errors, go back to Step2 above and enable the corresponding extension.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-db-settings.jpg\" class=\"alignnone size-full wp-image-2562 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"Magento install: database settings\" width=\"741\" height=\"750\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2562\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-db-settings.jpg\" alt=\"Magento install: database settings\" width=\"741\" height=\"750\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-db-settings.jpg 741w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-db-settings-296x300.jpg 296w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/noscript><\/p>\n<p>Here, fill up the database credentials and details that we have created. If you did not create a new user, you can use &#8220;root&#8221; as username and &#8220;&lt;blank&gt;&#8221; as password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-url-settings.jpg\" class=\"alignnone wp-image-2564 size-full lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"InStall Magento: Urls\" width=\"741\" height=\"750\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2564 size-full\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-url-settings.jpg\" alt=\"InStall Magento: Urls\" width=\"741\" height=\"750\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-url-settings.jpg 741w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-url-settings-296x300.jpg 296w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/noscript><\/p>\n<p>Set up your store address and admin dashboard url next. And next, your preferred time zones, language and currency settings.<br \/>\n<em>Note: It is recommended to use 127.0.0.1 to replace localhost to avoid errors.\u00a0<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-store-settings.jpg\" class=\"alignnone size-full wp-image-2565 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"\" width=\"741\" height=\"750\" \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2565\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-store-settings.jpg\" alt=\"\" width=\"741\" height=\"750\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-store-settings.jpg 741w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-store-settings-296x300.jpg 296w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/noscript><\/p>\n<p>Lastly, create your admin user account and run the install. Needless to say, please jolt down the credentials somewhere. The install will take about 15-20 mins in my experience, but varies for different systems.<\/p>\n<div class=\"advert-container\"><span>Advertisement<\/span><div class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div  class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div style=\"clear:both\"><\/div><\/div>\n<p><strong>Now the next step is crucial. Open the following file in Notepad.<br \/>\n<\/strong><\/p>\n<p>\\vendor\\magento\\framework\\View\\Element\\Template\\File\\Validator.php<\/p>\n<p><strong>Search for this line of code:<\/strong><\/p>\n<pre class=\"prettyprint prettyprinted\"><span class=\"pln\">$realPath <\/span><span class=\"pun\">=<\/span><span class=\"pln\"> $this<\/span><span class=\"pun\">-&gt;<\/span><span class=\"pln\">fileDriver<\/span><span class=\"pun\">-&gt;<\/span><span class=\"pln\">getRealPath<\/span><span class=\"pun\">(<\/span><span class=\"pln\">$path<\/span><span class=\"pun\">);<\/span><\/pre>\n<p><strong>Replace it with this line:<\/strong><\/p>\n<pre class=\"prettyprint prettyprinted\"><span class=\"pln\">$realPath <\/span><span class=\"pun\">=<\/span><span class=\"pln\"> str_replace<\/span><span class=\"pun\">(<\/span><span class=\"str\">\"\\\\\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"\/\"<\/span><span class=\"pun\">,<\/span><span class=\"pln\"> $this<\/span><span class=\"pun\">-&gt;<\/span><span class=\"pln\">fileDriver<\/span><span class=\"pun\">-&gt;<\/span><span class=\"pln\">getRealPath<\/span><span class=\"pun\">(<\/span><span class=\"pln\">$path<\/span><span class=\"pun\">));<\/span><\/pre>\n<p>Now we are done with all the configuration needed to run Magento on Windows using Xampp.<\/p>\n<p>Visit your store url and you will be greeted with the default installation.<\/p>\n<figure id=\"attachment_2566\" aria-describedby=\"caption-attachment-2566\" style=\"width: 720px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-default-store.jpg\" class=\"size-full wp-image-2566 lazyload\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"Magento Default\" width=\"720\" height=\"709\" \/><figcaption id=\"caption-attachment-2566\" class=\"wp-caption-text\"><noscript><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2566\" src=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-default-store.jpg\" alt=\"Magento Default\" width=\"720\" height=\"709\" srcset=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-default-store.jpg 720w, https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/magento-default-store-300x295.jpg 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/noscript> <em>Default installation of Magento with Sample Data<\/em><\/figcaption><\/figure>\n<div class=\"advert-container\"><span>Advertisement<\/span><div class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div  class=\"dt-50\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- eadc - Leaderboard -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-2177160175851722\"\n     data-ad-slot=\"9761945694\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><div style=\"clear:both\"><\/div><\/div>\n<h3>Conclusion<\/h3>\n<p>Congratulations! you have successfully installed a local version of Magento on your workstation! We hope you find this guide to installing Magento on Windows insightful. At eadc, we offer in <a href=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\"><strong>eCommerce Web Design services<\/strong><\/a> and <strong><a href=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wordpress-services\/\">WordPress Web Design<\/a><\/strong> at a competitive price. <a href=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/contact\/\">Contact us<\/a> should you require a professional to help with your online retail business.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Magento on Windows localhost can be a massive headache. As it does not support &#8220;officially&#8221; support the Windows platform. That&#8217;s pretty bad news for us Web Developers that are used to working on a Windows platform. But, of course, there&#8217;s still a way. If you are here because you need to set up a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2570,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[286,285],"tags":[345,289],"class_list":["post-2524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-web-development","tag-windows","tag-xampp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to correctly install Magento 2 on Windows localhost with XAMPP - EADC<\/title>\n<meta name=\"description\" content=\"Guide to install and setup Magento 2 on localhost with Xampp on Windows 10 for Web development \/ demo and learning.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to correctly install Magento 2 on Windows localhost with XAMPP - EADC\" \/>\n<meta property=\"og:description\" content=\"Guide to install and setup Magento 2 on localhost with Xampp on Windows 10 for Web development \/ demo and learning.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/\" \/>\n<meta property=\"og:site_name\" content=\"EADC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eadc.sg\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-03T07:46:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-18T09:36:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/install-magento.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"eadc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"eadc\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/\"},\"author\":{\"name\":\"eadc\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#\\\/schema\\\/person\\\/7566e1eacf7d0286c683af24e4c6da10\"},\"headline\":\"How to correctly install Magento 2 on Windows localhost with XAMPP\",\"datePublished\":\"2020-03-03T07:46:04+00:00\",\"dateModified\":\"2020-06-18T09:36:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/\"},\"wordCount\":1320,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.eadc.com.sg\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/install-magento.jpg\",\"keywords\":[\"Windows\",\"xampp\"],\"articleSection\":[\"Magento\",\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/\",\"url\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/\",\"name\":\"How to correctly install Magento 2 on Windows localhost with XAMPP - EADC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.eadc.com.sg\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/install-magento.jpg\",\"datePublished\":\"2020-03-03T07:46:04+00:00\",\"dateModified\":\"2020-06-18T09:36:05+00:00\",\"description\":\"Guide to install and setup Magento 2 on localhost with Xampp on Windows 10 for Web development \\\/ demo and learning.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.eadc.com.sg\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/install-magento.jpg\",\"contentUrl\":\"https:\\\/\\\/www.eadc.com.sg\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/install-magento.jpg\",\"width\":800,\"height\":400,\"caption\":\"Install Magento Locally\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/blog\\\/install-magento-2-windows-localhost-xampp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.eadc.com.sg\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to correctly install Magento 2 on Windows localhost with XAMPP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#website\",\"url\":\"https:\\\/\\\/www.eadc.com.sg\\\/\",\"name\":\"EADC\",\"description\":\"Web Design Singapore\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.eadc.com.sg\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#organization\",\"name\":\"EADC\",\"url\":\"https:\\\/\\\/www.eadc.com.sg\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.eadc.com.sg\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/eadc-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/www.eadc.com.sg\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/eadc-logo-1.png\",\"width\":225,\"height\":99,\"caption\":\"EADC\"},\"image\":{\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/eadc.sg\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/eadc\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/eadcsingapore\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.eadc.com.sg\\\/#\\\/schema\\\/person\\\/7566e1eacf7d0286c683af24e4c6da10\",\"name\":\"eadc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bc6a765c8dc89023e81fe88145ec41d81c2cb54f2cbc964a4ccdfb6602dd28e7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bc6a765c8dc89023e81fe88145ec41d81c2cb54f2cbc964a4ccdfb6602dd28e7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bc6a765c8dc89023e81fe88145ec41d81c2cb54f2cbc964a4ccdfb6602dd28e7?s=96&d=mm&r=g\",\"caption\":\"eadc\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to correctly install Magento 2 on Windows localhost with XAMPP - EADC","description":"Guide to install and setup Magento 2 on localhost with Xampp on Windows 10 for Web development \/ demo and learning.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/","og_locale":"en_US","og_type":"article","og_title":"How to correctly install Magento 2 on Windows localhost with XAMPP - EADC","og_description":"Guide to install and setup Magento 2 on localhost with Xampp on Windows 10 for Web development \/ demo and learning.","og_url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/","og_site_name":"EADC","article_publisher":"https:\/\/www.facebook.com\/eadc.sg\/","article_published_time":"2020-03-03T07:46:04+00:00","article_modified_time":"2020-06-18T09:36:05+00:00","og_image":[{"width":800,"height":400,"url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/install-magento.jpg","type":"image\/jpeg"}],"author":"eadc","twitter_card":"summary_large_image","twitter_misc":{"Written by":"eadc","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#article","isPartOf":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/"},"author":{"name":"eadc","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#\/schema\/person\/7566e1eacf7d0286c683af24e4c6da10"},"headline":"How to correctly install Magento 2 on Windows localhost with XAMPP","datePublished":"2020-03-03T07:46:04+00:00","dateModified":"2020-06-18T09:36:05+00:00","mainEntityOfPage":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/"},"wordCount":1320,"commentCount":0,"publisher":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#organization"},"image":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#primaryimage"},"thumbnailUrl":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/install-magento.jpg","keywords":["Windows","xampp"],"articleSection":["Magento","Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/","url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/","name":"How to correctly install Magento 2 on Windows localhost with XAMPP - EADC","isPartOf":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#website"},"primaryImageOfPage":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#primaryimage"},"image":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#primaryimage"},"thumbnailUrl":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/install-magento.jpg","datePublished":"2020-03-03T07:46:04+00:00","dateModified":"2020-06-18T09:36:05+00:00","description":"Guide to install and setup Magento 2 on localhost with Xampp on Windows 10 for Web development \/ demo and learning.","breadcrumb":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#primaryimage","url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/install-magento.jpg","contentUrl":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2020\/03\/install-magento.jpg","width":800,"height":400,"caption":"Install Magento Locally"},{"@type":"BreadcrumbList","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/blog\/install-magento-2-windows-localhost-xampp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/"},{"@type":"ListItem","position":2,"name":"How to correctly install Magento 2 on Windows localhost with XAMPP"}]},{"@type":"WebSite","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#website","url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/","name":"EADC","description":"Web Design Singapore","publisher":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#organization","name":"EADC","url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#\/schema\/logo\/image\/","url":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2017\/03\/eadc-logo-1.png","contentUrl":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-content\/uploads\/2017\/03\/eadc-logo-1.png","width":225,"height":99,"caption":"EADC"},"image":{"@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eadc.sg\/","https:\/\/www.linkedin.com\/company\/eadc\/","https:\/\/www.pinterest.com\/eadcsingapore\/"]},{"@type":"Person","@id":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/#\/schema\/person\/7566e1eacf7d0286c683af24e4c6da10","name":"eadc","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bc6a765c8dc89023e81fe88145ec41d81c2cb54f2cbc964a4ccdfb6602dd28e7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bc6a765c8dc89023e81fe88145ec41d81c2cb54f2cbc964a4ccdfb6602dd28e7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bc6a765c8dc89023e81fe88145ec41d81c2cb54f2cbc964a4ccdfb6602dd28e7?s=96&d=mm&r=g","caption":"eadc"}}]}},"_links":{"self":[{"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/posts\/2524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/comments?post=2524"}],"version-history":[{"count":5,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/posts\/2524\/revisions"}],"predecessor-version":[{"id":2658,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/posts\/2524\/revisions\/2658"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/media\/2570"}],"wp:attachment":[{"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/media?parent=2524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/categories?post=2524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glutenfreepleasure.com\/__proxy_domain\/www.eadc.com.sg\/wp-json\/wp\/v2\/tags?post=2524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}