{"id":1173,"date":"2021-09-20T12:23:05","date_gmt":"2021-09-20T12:23:05","guid":{"rendered":"https:\/\/blog.ascuretech.com\/?p=1173"},"modified":"2021-10-18T09:52:54","modified_gmt":"2021-10-18T09:52:54","slug":"7-steps-to-install-magento-2","status":"publish","type":"post","link":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2","title":{"rendered":"7 Steps To Install Magento 2 In Windows OS With XAMPP"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">This article will show how to install <a href=\"https:\/\/ascuretech.com\/magento\">Magento 2<\/a> in windows with XAMPP in just seven steps, along with best practices and the right configurations. As our first step, let\u2019s see the system requirements for Magento 2.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">System Requirements For Magento 2:<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Apache 2.2 or 2.4<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">XAMPP installed<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PHP version 7.0.13 to 7.2<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Mysql version 5.6 or 5.7<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Google chrome, firefox or Internet Explorer, etc.<\/span><\/li>\n<\/ul>\n<h2>Step 1: <span style=\"font-weight: 400;\">Installing XAMPP<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to the XAMPP installation page on the official website, <\/span><a href=\"https:\/\/www.apachefriends.org\/download.html\"><span style=\"font-weight: 400;\">click here<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Download and install version 7.2 for windows.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1175\" style=\"font-size: 16px;\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/Screenshot_1.png\" alt=\"Set up\" width=\"529\" height=\"443\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot_1.png 529w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot_1-300x251.png 300w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Save it in the disk and folder of your choice.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select all the necessary components that need to be installed along with xampp like Mysql, PHP, etc.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open Apache config and go to \u2018php.ini.\u2019<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1176\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/Screenshot_2.png\" alt=\"step2\" width=\"679\" height=\"422\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot_2.png 679w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot_2-300x186.png 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Remove the beginning semicolon \u2018;\u2019 from \u2018extension=php_intl.dll,\u2019 \u2018extension=soap,\u2019 \u2018extension=sockets\u2019 and \u2019extension=php_xsl.dll.\u2019<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1179\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-10.webp\" alt=\"Step 2\" width=\"750\" height=\"617\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-10.webp 750w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-10-300x247.webp 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Run MySQL and Apache services from the apache control panel<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1180\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-6.webp\" alt=\"Run Panel\" width=\"664\" height=\"434\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-6.webp 664w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-6-300x196.webp 300w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\"><strong>Step 2:<\/strong> Installing Composer<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Install the composer from the official installation page of the composer; visit <\/span><a href=\"https:\/\/getcomposer.org\/download\/\"><span style=\"font-weight: 400;\">Download Composer<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1181\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-8.webp\" alt=\"start download\" width=\"643\" height=\"475\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-8.webp 643w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-8-300x222.webp 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Browse the php.exe file in the xampp\/PHP folder and install the composer<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">Step 3: Download Magento<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Download the Magento version 2.3.5 setup for windows and install<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1183\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-27.webp\" alt=\"Download magento\" width=\"1024\" height=\"384\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-27.webp 1024w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-27-300x113.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-27-768x288.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Extract the installation archive and rename the extracted folder according to your liking.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now copy the extracted folder and paste that into your \u2018xampp\/htdocs\u2019 location.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1184\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-9.webp\" alt=\"Step\" width=\"780\" height=\"330\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-9.webp 780w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-9-300x127.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-9-768x325.webp 768w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">Step 4: Install Magento<\/span><\/h2>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1185\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-18.webp\" alt=\"install steps\" width=\"613\" height=\"429\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-18.webp 613w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-18-300x210.webp 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Start installing Magento by running localhost\/Magento.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click start readiness check(it will check whether all system requirements are fulfilled or not and generate a report.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1186\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-12.webp\" alt=\"next step\" width=\"994\" height=\"373\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-12.webp 994w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-12-300x113.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-12-768x288.webp 768w\" sizes=\"(max-width: 994px) 100vw, 994px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After this, click \u2018next\u2019 and start the \u2018add database\u2019 step.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1187\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-29.webp\" alt=\"next step\" width=\"602\" height=\"374\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-29.webp 602w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-29-300x186.webp 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Fill in the details, set \u201cDatabase services host\u201d to \u201clocalhost,\u201d \u201cDatabase Username\u201d to \u201croot,\u201d and set the database name as you have created in \u201cphpMyAdmin.\u201d<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1188\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-16.webp\" alt=\"next step\" width=\"1001\" height=\"258\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-16.webp 1001w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-16-300x77.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-16-768x198.webp 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1189\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-11.webp\" alt=\"add a database\" width=\"678\" height=\"304\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-11.webp 678w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-11-300x135.webp 300w\" sizes=\"(max-width: 678px) 100vw, 678px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next comes the web configuration, set \u201cyour store address\u201d to \u201chttp:\/\/localhost\/magento\u201d and \u201cmagento admin address\u201d by suffixing your admin username with the \u201cstore address.\u201d<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1190\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-15.webp\" alt=\"Web configuration\" width=\"983\" height=\"458\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-15.webp 983w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-15-300x140.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-15-768x358.webp 768w\" sizes=\"(max-width: 983px) 100vw, 983px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now comes the \u201ccustomize your store\u201d phase here. Set the default timezone, default currency and language<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1191\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-14.webp\" alt=\"customized\" width=\"1010\" height=\"510\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-14.webp 1010w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-14-300x151.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-14-768x388.webp 768w\" sizes=\"(max-width: 1010px) 100vw, 1010px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">There are advanced configuration option too, which is optional, set it according to your need.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now create an account in the next step, using email id, password and username.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1192\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-30.webp\" alt=\"create account\" width=\"602\" height=\"303\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-30.webp 602w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-30-300x151.webp 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then comes the final step, click install now to start the installation.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1193\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-22.webp\" alt=\"installation\" width=\"963\" height=\"342\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-22.webp 963w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-22-300x107.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-22-768x273.webp 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Step 5: Remove Installation Error<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The installation won\u2019t complete, and it will show an error, and you need to replace the function \u201cvalidateURLScheme\u201d in the filename \u201c\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php.\u201d<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1194\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-24.webp\" alt=\"remove error\" width=\"987\" height=\"486\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-24.webp 987w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-24-300x148.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-24-768x378.webp 768w\" sizes=\"(max-width: 987px) 100vw, 987px\" \/><\/p>\n<ul>\n<li>You can replace this function\u202fvalidateURLScheme in File name: \\vendor\\magento\\framework\\Image\\Adapter\\Gd2.phpprivate function validateURLScheme(string $filename) : bool{$allowed_schemes = [\u2018ftp\u2019, \u2018ftps\u2019, \u2018http\u2019, \u2018https\u2019];$url = parse_url($filename);if ($url &amp;&amp; isset($url[\u2018scheme\u2019]) &amp;&amp; !in_array($url[\u2018scheme\u2019], $allowed_schemes) &amp;&amp; !file_exists($filename) &amp;&amp; strlen($url[\u2018scheme\u2019]) &gt; 1) {return false;}return true;\n<p>}<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now refresh and click install again.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">When the installation completes, it will show a success message.<img loading=\"lazy\" class=\"alignnone size-full wp-image-1195\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-13.webp\" alt=\"successful solve error\" width=\"1024\" height=\"578\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-13.webp 1024w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-13-300x169.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-13-768x434.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Step 6: Launching Admin Panel<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You can launch the admin panel in the browser<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">If you still don\u2019t see the admin dashboard<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Change URL validator function in the file \u201c\/vendor\/magento\/framework\/View\/Element\/Template\/File\/Validator.php:113 \u201c<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now when you refresh, you will see the login screen<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1196\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-20.webp\" alt=\"Refresh\" width=\"828\" height=\"577\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-20.webp 828w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-20-300x209.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-20-768x535.webp 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Fill the credentials and sign in<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Step 7: Now, as the last step, we will remove errors in the browser console log and broken image links.<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open the command prompt<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to the project location of Magento, e.g., \u201cxampp\/htdocs\/magento.\u201d<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Type the following command \u201cphp bin\/magento setup:upgrade\u201d<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After that type \u201cphp bin\/magento setup:static-content:deploy -f \u201c<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">And finally, \u201cphp bin\/magento c:c.\u201d<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1199\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-19.webp\" alt=\"\" width=\"810\" height=\"332\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-19.webp 810w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-19-300x123.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-19-768x315.webp 768w\" sizes=\"(max-width: 810px) 100vw, 810px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1198\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-17.webp\" alt=\"\" width=\"866\" height=\"253\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-17.webp 866w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-17-300x88.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-17-768x224.webp 768w\" sizes=\"(max-width: 866px) 100vw, 866px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1200\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-9-1.webp\" alt=\"\" width=\"780\" height=\"330\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-9-1.webp 780w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-9-1-300x127.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-9-1-768x325.webp 768w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1197\" src=\"https:\/\/blog.ascuretech.com\/wp-content\/uploads\/2021\/09\/image-25.webp\" alt=\"Install Steps\" width=\"1024\" height=\"538\" srcset=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-25.webp 1024w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-25-300x158.webp 300w, https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/image-25-768x404.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Congrats, your Magento 2 store is ready to run on windows localhost. Hope you will find this article helpful; if you follow these steps properly, you will be able to run Magento 2 on windows localhost with xampp; if you cannot set it up, ask for the discussion forums, somebody will help you fix the issues.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will show how to install Magento 2 in windows with XAMPP in just seven steps, along with best practices and the right configurations. As our first step, let\u2019s see the system requirements for Magento 2. System Requirements For Magento 2: Apache 2.2 or 2.4 XAMPP installed PHP version 7.0.13 to 7.2 Mysql version 5.6 or 5.7 Google chrome, firefox or Internet Explorer, etc. Step 1: Installing XAMPP Go to the XAMPP installation page on the official website, click here. Download and install version 7.2 for windows. Save it in the disk and folder of your choice. Select all&#8230; <\/p>\n","protected":false},"author":1,"featured_media":1207,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[29],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>7 Steps To Install Magento 2 In Windows OS With XAMPP<\/title>\n<meta name=\"description\" content=\"In this blog, we will show you how to install Magento 2 on the Windows platform using the XAMPP server. Visit Us for Read More!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"7 Steps To Install Magento 2 In Windows OS With XAMPP\" \/>\n<meta property=\"og:description\" content=\"In this blog, we will show you how to install Magento 2 on the Windows platform using the XAMPP server. Visit Us for Read More!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2\" \/>\n<meta property=\"og:site_name\" content=\"AscureTech\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-20T12:23:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-18T09:52:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png\" \/>\n\t<meta property=\"og:image:width\" content=\"642\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ascure_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/ascuretech.com\/blog\/#organization\",\"name\":\"Ascure Technologies\",\"url\":\"https:\/\/ascuretech.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ascuretech.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2023\/02\/ascure-logo-96x96-2.png\",\"contentUrl\":\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2023\/02\/ascure-logo-96x96-2.png\",\"width\":96,\"height\":96,\"caption\":\"Ascure Technologies\"},\"image\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ascuretech.com\/blog\/#website\",\"url\":\"https:\/\/ascuretech.com\/blog\/\",\"name\":\"AscureTech\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ascuretech.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png\",\"contentUrl\":\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png\",\"width\":642,\"height\":400,\"caption\":\"steps of install magento\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#webpage\",\"url\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2\",\"name\":\"7 Steps To Install Magento 2 In Windows OS With XAMPP\",\"isPartOf\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#primaryimage\"},\"datePublished\":\"2021-09-20T12:23:05+00:00\",\"dateModified\":\"2021-10-18T09:52:54+00:00\",\"description\":\"In this blog, we will show you how to install Magento 2 on the Windows platform using the XAMPP server. Visit Us for Read More!\",\"breadcrumb\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ascuretech.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"7 Steps To Install Magento 2 In Windows OS With XAMPP\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#article\",\"isPartOf\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#webpage\"},\"author\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/#\/schema\/person\/5bd2364917c8c92e82f67a77fd028a6d\"},\"headline\":\"7 Steps To Install Magento 2 In Windows OS With XAMPP\",\"datePublished\":\"2021-09-20T12:23:05+00:00\",\"dateModified\":\"2021-10-18T09:52:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#webpage\"},\"wordCount\":651,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png\",\"keywords\":[\"Install Magento 2\"],\"articleSection\":[\"Magento\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ascuretech.com\/blog\/#\/schema\/person\/5bd2364917c8c92e82f67a77fd028a6d\",\"name\":\"ascure_admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ascuretech.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/04f94dcba25b3aa6f391d6fcf6d4fa41?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/04f94dcba25b3aa6f391d6fcf6d4fa41?s=96&d=mm&r=g\",\"caption\":\"ascure_admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"7 Steps To Install Magento 2 In Windows OS With XAMPP","description":"In this blog, we will show you how to install Magento 2 on the Windows platform using the XAMPP server. Visit Us for Read More!","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:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2","og_locale":"en_US","og_type":"article","og_title":"7 Steps To Install Magento 2 In Windows OS With XAMPP","og_description":"In this blog, we will show you how to install Magento 2 on the Windows platform using the XAMPP server. Visit Us for Read More!","og_url":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2","og_site_name":"AscureTech","article_published_time":"2021-09-20T12:23:05+00:00","article_modified_time":"2021-10-18T09:52:54+00:00","og_image":[{"width":642,"height":400,"url":"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"ascure_admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/ascuretech.com\/blog\/#organization","name":"Ascure Technologies","url":"https:\/\/ascuretech.com\/blog\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/ascuretech.com\/blog\/#logo","inLanguage":"en-US","url":"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2023\/02\/ascure-logo-96x96-2.png","contentUrl":"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2023\/02\/ascure-logo-96x96-2.png","width":96,"height":96,"caption":"Ascure Technologies"},"image":{"@id":"https:\/\/ascuretech.com\/blog\/#logo"}},{"@type":"WebSite","@id":"https:\/\/ascuretech.com\/blog\/#website","url":"https:\/\/ascuretech.com\/blog\/","name":"AscureTech","description":"","publisher":{"@id":"https:\/\/ascuretech.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ascuretech.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#primaryimage","inLanguage":"en-US","url":"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png","contentUrl":"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png","width":642,"height":400,"caption":"steps of install magento"},{"@type":"WebPage","@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#webpage","url":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2","name":"7 Steps To Install Magento 2 In Windows OS With XAMPP","isPartOf":{"@id":"https:\/\/ascuretech.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#primaryimage"},"datePublished":"2021-09-20T12:23:05+00:00","dateModified":"2021-10-18T09:52:54+00:00","description":"In this blog, we will show you how to install Magento 2 on the Windows platform using the XAMPP server. Visit Us for Read More!","breadcrumb":{"@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ascuretech.com\/blog\/"},{"@type":"ListItem","position":2,"name":"7 Steps To Install Magento 2 In Windows OS With XAMPP"}]},{"@type":"Article","@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#article","isPartOf":{"@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#webpage"},"author":{"@id":"https:\/\/ascuretech.com\/blog\/#\/schema\/person\/5bd2364917c8c92e82f67a77fd028a6d"},"headline":"7 Steps To Install Magento 2 In Windows OS With XAMPP","datePublished":"2021-09-20T12:23:05+00:00","dateModified":"2021-10-18T09:52:54+00:00","mainEntityOfPage":{"@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#webpage"},"wordCount":651,"commentCount":0,"publisher":{"@id":"https:\/\/ascuretech.com\/blog\/#organization"},"image":{"@id":"https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#primaryimage"},"thumbnailUrl":"https:\/\/ascuretech.com\/blog\/wp-content\/uploads\/2021\/09\/7-step-in-642.png","keywords":["Install Magento 2"],"articleSection":["Magento"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ascuretech.com\/blog\/7-steps-to-install-magento-2#respond"]}]},{"@type":"Person","@id":"https:\/\/ascuretech.com\/blog\/#\/schema\/person\/5bd2364917c8c92e82f67a77fd028a6d","name":"ascure_admin","image":{"@type":"ImageObject","@id":"https:\/\/ascuretech.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/04f94dcba25b3aa6f391d6fcf6d4fa41?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/04f94dcba25b3aa6f391d6fcf6d4fa41?s=96&d=mm&r=g","caption":"ascure_admin"}}]}},"_links":{"self":[{"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/posts\/1173"}],"collection":[{"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/comments?post=1173"}],"version-history":[{"count":11,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/posts\/1173\/revisions"}],"predecessor-version":[{"id":1266,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/posts\/1173\/revisions\/1266"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/media\/1207"}],"wp:attachment":[{"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/media?parent=1173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/categories?post=1173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ascuretech.com\/blog\/wp-json\/wp\/v2\/tags?post=1173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}