{"id":7066,"date":"2021-08-04T04:02:35","date_gmt":"2021-08-04T04:02:35","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=7066"},"modified":"2026-02-04T15:35:38","modified_gmt":"2026-02-04T15:35:38","slug":"install-magento-2-4-7-on-xampp","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/","title":{"rendered":"How To Install Magento 2.4.7 On XAMPP"},"content":{"rendered":"\n<p>Magento 2.4.7 came out with a lot of improvements and useful features, especially a few tweaks to improve security. This makes it difficult to install on localhost. But after a period of research, we can install it successfully, follow the posts <strong>How to install Magento 2.4.7 On XAMPP<\/strong> to be able to do it.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">1. Check Magento 2.4.7 System\u00a0Requirement<\/h2>\n\n\n\n<p>First, you should check the\u00a0<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/installation-guide\/system-requirements\">system requirements of Magento 2.4.7<\/a>\u00a0to choose compatible XAMPP and Elasticsearch versions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"527\" data-attachment-id=\"11220\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/magento-247-system-requirements\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?fit=894%2C589&amp;ssl=1\" data-orig-size=\"894,589\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Magento 247 System requirements\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?fit=300%2C198&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?fit=800%2C527&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?resize=800%2C527&#038;ssl=1\" alt=\"\" class=\"wp-image-11220\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?w=894&amp;ssl=1 894w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?resize=300%2C198&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-247-System-requirements.png?resize=768%2C506&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>You need to pay attention to the version requirements of Apache, MySQL, PHP, and Elasticsearch. Here, Magento 2.4 requires:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP Version 8.2, 8.3<\/li>\n\n\n\n<li>Elasticsearch Version 7.9.x<\/li>\n<\/ul>\n\n\n\n<p>Also, you should pay attention to a few required PHP extensions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Download and Install XAMPP<\/h2>\n\n\n\n<p>Based on the requirements above, we proceed to select an appropriate XAMPP version. You can download XAMPP&nbsp;<a href=\"https:\/\/www.apachefriends.org\/download.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"405\" data-attachment-id=\"11221\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/download-xampp\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?fit=1013%2C513&amp;ssl=1\" data-orig-size=\"1013,513\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Download XAMPP\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?fit=300%2C152&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?fit=800%2C405&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?resize=800%2C405&#038;ssl=1\" alt=\"\" class=\"wp-image-11221\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?w=1013&amp;ssl=1 1013w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?resize=300%2C152&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-XAMPP.png?resize=768%2C389&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>We should choose the version of XAMPP that matches the above requirements. Then proceed to download and install.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"513\" height=\"437\" data-attachment-id=\"3394\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-on-xampp\/install-xampp\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Install-XAMPP.jpg?fit=513%2C437&amp;ssl=1\" data-orig-size=\"513,437\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Install-XAMPP\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Install-XAMPP.jpg?fit=300%2C256&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Install-XAMPP.jpg?fit=513%2C437&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Install-XAMPP.jpg?resize=513%2C437&#038;ssl=1\" alt=\"Install XAMPP\" class=\"wp-image-3394\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Install-XAMPP.jpg?w=513&amp;ssl=1 513w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Install-XAMPP.jpg?resize=300%2C256&amp;ssl=1 300w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">3. Download and Install Composer<\/h2>\n\n\n\n<p>After downloading Magento, we download and install Composer. You can access&nbsp;<a href=\"https:\/\/getcomposer.org\/download\/\" rel=\"noreferrer noopener\" target=\"_blank\">here<\/a>&nbsp;to download Composer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"554\" data-attachment-id=\"3397\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-on-xampp\/download-composer\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?fit=1146%2C794&amp;ssl=1\" data-orig-size=\"1146,794\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Download-Composer\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?fit=300%2C208&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?fit=800%2C554&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?resize=800%2C554&#038;ssl=1\" alt=\"Download Composer\" class=\"wp-image-3397\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?w=1146&amp;ssl=1 1146w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?resize=1024%2C709&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?resize=768%2C532&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?resize=392%2C272&amp;ssl=1 392w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Download-Composer.jpg?resize=130%2C90&amp;ssl=1 130w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>At the time of installation, choose the correct path to the&nbsp;php.exe&nbsp;of XAMPP just installed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"495\" data-attachment-id=\"3398\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-on-xampp\/composer-choose-path-of-xampp\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Composer-choose-path-of-XAMPP.jpg?fit=658%2C495&amp;ssl=1\" data-orig-size=\"658,495\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Composer-choose-path-of-XAMPP\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Composer-choose-path-of-XAMPP.jpg?fit=300%2C226&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Composer-choose-path-of-XAMPP.jpg?fit=658%2C495&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Composer-choose-path-of-XAMPP.jpg?resize=658%2C495&#038;ssl=1\" alt=\"Composer choose path of XAMPP\" class=\"wp-image-3398\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Composer-choose-path-of-XAMPP.jpg?w=658&amp;ssl=1 658w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Composer-choose-path-of-XAMPP.jpg?resize=300%2C226&amp;ssl=1 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/figure>\n\n\n\n<p>You can check if the Composer installation was successful or not by opening the Command Prompt with administrator privileges. Next, check with composer command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"425\" data-attachment-id=\"3399\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-on-xampp\/check-composer\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?fit=991%2C527&amp;ssl=1\" data-orig-size=\"991,527\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Check-Composer\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?fit=300%2C160&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?fit=800%2C425&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?resize=800%2C425&#038;ssl=1\" alt=\"Check Composer\" class=\"wp-image-3399\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?w=991&amp;ssl=1 991w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Check-Composer.jpg?resize=768%2C408&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">4. Download Magento 2.4.7<\/h2>\n\n\n\n<p>Next, We download Magento 2.4.7 with Composer.<\/p>\n\n\n\n<p>Go to <code>htdocs<\/code> folder on XAMPP installed directory.<\/p>\n\n\n\n<p>Open Command Prompt an run:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncomposer create-project --repository-url=https:\/\/repo.magento.com\/ magento\/project-community-edition=2.4.7-p3 magento247p3\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"476\" data-attachment-id=\"11222\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/download-magento-247-with-composer\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?fit=1164%2C692&amp;ssl=1\" data-orig-size=\"1164,692\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Download Magento 247 with Composer\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?fit=300%2C178&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?fit=800%2C476&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?resize=800%2C476&#038;ssl=1\" alt=\"\" class=\"wp-image-11222\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?resize=1024%2C609&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?resize=300%2C178&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?resize=768%2C457&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Download-Magento-247-with-Composer.png?w=1164&amp;ssl=1 1164w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">5. Download and Install Elasticsearch<\/h2>\n\n\n\n<p>We downloaded\u00a0<a href=\"https:\/\/www.elastic.co\/downloads\/past-releases\/elasticsearch-7-17-29\" target=\"_blank\" rel=\"noreferrer noopener\">Elasticsearch 7.17.29<\/a>\u00a0into XAMPP\u2019s htdocs directory and unzip it, you can use the latest version\u00a0here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"450\" data-attachment-id=\"11223\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/unzip-elasticsearch\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?fit=1160%2C652&amp;ssl=1\" data-orig-size=\"1160,652\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Unzip elasticsearch\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?fit=800%2C450&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch-1024x576.png?resize=800%2C450&#038;ssl=1\" alt=\"\" class=\"wp-image-11223\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Unzip-elasticsearch.png?w=1160&amp;ssl=1 1160w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Run\u00a0<code>elasticsearch.bat<\/code>\u00a0as an administrator in the <code>bin<\/code>\u00a0directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"450\" data-attachment-id=\"11224\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/run-elastichsearch-with-administrator\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?fit=1163%2C654&amp;ssl=1\" data-orig-size=\"1163,654\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Run elastichsearch with administrator\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?fit=800%2C450&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?resize=800%2C450&#038;ssl=1\" alt=\"\" class=\"wp-image-11224\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator.png?w=1163&amp;ssl=1 1163w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"447\" data-attachment-id=\"11225\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/run-elastichsearch-with-administrator-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?fit=1009%2C564&amp;ssl=1\" data-orig-size=\"1009,564\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Run elastichsearch with administrator 2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?fit=300%2C168&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?fit=800%2C447&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?resize=800%2C447&#038;ssl=1\" alt=\"\" class=\"wp-image-11225\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?w=1009&amp;ssl=1 1009w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?resize=300%2C168&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-elastichsearch-with-administrator-2.png?resize=768%2C429&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>You can check it at localhost with port 9200:&nbsp;<code>localhost:9200<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"486\" data-attachment-id=\"11226\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/check-elastichsearch\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Check-elastichsearch.png?fit=719%2C486&amp;ssl=1\" data-orig-size=\"719,486\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Check elastichsearch\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Check-elastichsearch.png?fit=300%2C203&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Check-elastichsearch.png?fit=719%2C486&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Check-elastichsearch.png?resize=719%2C486&#038;ssl=1\" alt=\"\" class=\"wp-image-11226\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Check-elastichsearch.png?w=719&amp;ssl=1 719w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Check-elastichsearch.png?resize=300%2C203&amp;ssl=1 300w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">6. Configure extensions before installing<\/h2>\n\n\n\n<p>You open XAMPP Control Panel. Next, open&nbsp;php.ini&nbsp;in Apache\u2019s config.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"746\" height=\"511\" data-attachment-id=\"11227\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/config-php-ini\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?fit=746%2C511&amp;ssl=1\" data-orig-size=\"746,511\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Config php ini\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?fit=300%2C205&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?fit=746%2C511&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?resize=746%2C511&#038;ssl=1\" alt=\"\" class=\"wp-image-11227\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?w=746&amp;ssl=1 746w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?resize=300%2C205&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-php-ini.png?resize=130%2C90&amp;ssl=1 130w\" sizes=\"auto, (max-width: 746px) 100vw, 746px\" \/><\/figure>\n\n\n\n<p>Find lines<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n;extension=intl\n;extension=soap\n;extension=sockets\n;extension=sodium\n;extension=xsl\n<\/pre><\/div>\n\n\n<p>replace to<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nextension=intl\nextension=soap\nextension=sockets\nextension=sodium\nextension=xsl\n<\/pre><\/div>\n\n\n<p>by removing the \u201c;\u201d in front of.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"778\" data-attachment-id=\"7098\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/edit-php-ini-php-extensions\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?fit=1067%2C1038&amp;ssl=1\" data-orig-size=\"1067,1038\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Edit-php.ini-php-extensions\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?fit=300%2C292&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?fit=800%2C778&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?resize=800%2C778&#038;ssl=1\" alt=\"Edit php.ini  php extensions\" class=\"wp-image-7098\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?w=1067&amp;ssl=1 1067w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?resize=300%2C292&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?resize=1024%2C996&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?resize=768%2C747&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Edit-php.ini-php-extensions.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Expand&nbsp;<code>memory_limit<\/code>&nbsp;to 4G:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"586\" data-attachment-id=\"7097\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/expand-memory_limit-to-4g\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?fit=1067%2C781&amp;ssl=1\" data-orig-size=\"1067,781\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Expand-memory_limit-to-4G\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?fit=300%2C220&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?fit=800%2C586&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?resize=800%2C586&#038;ssl=1\" alt=\"Expand\u00a0memory_limit\u00a0to 4G\" class=\"wp-image-7097\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?w=1067&amp;ssl=1 1067w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?resize=300%2C220&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?resize=1024%2C750&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Expand-memory_limit-to-4G.png?resize=768%2C562&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Start Apache and MySQL in XAMPP Control Panel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"440\" data-attachment-id=\"11228\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/run-xampp\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-XAMPP.png?fit=676%2C440&amp;ssl=1\" data-orig-size=\"676,440\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Run XAMPP\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-XAMPP.png?fit=300%2C195&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-XAMPP.png?fit=676%2C440&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-XAMPP.png?resize=676%2C440&#038;ssl=1\" alt=\"\" class=\"wp-image-11228\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-XAMPP.png?w=676&amp;ssl=1 676w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Run-XAMPP.png?resize=300%2C195&amp;ssl=1 300w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">7. Fix Magento_Theme Error<\/h2>\n\n\n\n<p>To fix Module \u2018Magento_Theme\u2019 Error, go to\u00a0xampp\/htdocs\/{magento-folder}\/vendor\/magento\/framework\/Image\/Adapter\/Gd2.php\u00a0and replace the following function with the below code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nprivate function validateURLScheme(string $filename) : bool\n   {\n       $allowed_schemes = &#x5B;'ftp', 'ftps', 'http', 'https'];\n       $url = parse_url($filename);\n       if ($url &amp;&amp; isset($url&#x5B;'scheme']) &amp;&amp; !in_array($url&#x5B;'scheme'], $allowed_schemes) &amp;&amp; !file_exists($filename)) {\n           return false;\n       }\n       return true;\n }\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"511\" data-attachment-id=\"7104\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/fix-magento_theme-error-in-magento-2-4-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?fit=1159%2C740&amp;ssl=1\" data-orig-size=\"1159,740\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Fix-Magento_Theme-Error-In-Magento-2.4.2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?fit=300%2C192&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?fit=800%2C511&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?resize=800%2C511&#038;ssl=1\" alt=\"Fix Magento_Theme Error In Magento 2.4.2\" class=\"wp-image-7104\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?w=1159&amp;ssl=1 1159w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?resize=300%2C192&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?resize=1024%2C654&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-Magento_Theme-Error-In-Magento-2.4.2.png?resize=768%2C490&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">8. Create a new database<\/h2>\n\n\n\n<p>Create a new database by access&nbsp;<code>localhost\/phpmyadmin\/<\/code>. Next, select <strong>New<\/strong>, give the database a name and click <strong>Create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"459\" data-attachment-id=\"11229\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/create-db\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?fit=988%2C567&amp;ssl=1\" data-orig-size=\"988,567\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Create DB\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?fit=300%2C172&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?fit=800%2C459&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?resize=800%2C459&#038;ssl=1\" alt=\"\" class=\"wp-image-11229\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?w=988&amp;ssl=1 988w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?resize=300%2C172&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Create-DB.png?resize=768%2C441&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">9. Configure&nbsp;hosts&nbsp;file<\/h2>\n\n\n\n<p>Go to <code>C:\\xampp\\apache\\conf\\extra\\httpd-vhosts.conf<\/code> and add the following line to the last row.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&lt;VirtualHost *:80&gt;\n    DocumentRoot &quot;C:\/xampp\/htdocs\/magento_folder\/pub&quot;\n    ServerName www.localhost.com\n&lt;\/VirtualHost&gt;\n&lt;VirtualHost *:80&gt;\n    DocumentRoot &quot;C:\/xampp\/htdocs&quot;\n    ServerName localhost\n&lt;\/VirtualHost&gt;\n<\/pre><\/div>\n\n\n<p>Go to <code>C:\\Windows\\System32\\drivers\\etc\\hosts<\/code> and add the following line to the last row.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n127.0.0.1 {your-url}\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Note: You should run the editor tool as administrator to be able to confirm the change.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"534\" data-attachment-id=\"11230\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/config-host\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?fit=1206%2C806&amp;ssl=1\" data-orig-size=\"1206,806\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Config host\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?fit=300%2C200&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?fit=800%2C534&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?resize=800%2C534&#038;ssl=1\" alt=\"\" class=\"wp-image-11230\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?resize=1024%2C684&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?resize=768%2C513&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Config-host.png?w=1206&amp;ssl=1 1206w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">10. Install Magento 2.4.7<\/h2>\n\n\n\n<p>Go to the folder containing the Magento 2.4.7 created earlier, and open cmd.<\/p>\n\n\n\n<p>Enter the command to install:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento setup:install --base-url=&quot;http:\/\/magento247p3.magento2.com&quot; --db-host=&quot;localhost&quot; --db-name=&quot;magento247p3&quot; --db-user=&quot;root&quot; --admin-firstname=&quot;admin&quot; --admin-lastname=&quot;admin&quot; --admin-email=&quot;admin@magetop.com&quot; --admin-user=&quot;admin&quot; --admin-password=&quot;admin123&quot; --language=&quot;en_US&quot; --currency=&quot;USD&quot; --timezone=&quot;America\/Chicago&quot; --use-rewrites=&quot;1&quot; --backend-frontname=&quot;admin&quot; --search-engine=elasticsearch7 --elasticsearch-host=&quot;localhost&quot; --elasticsearch-port=9200\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"451\" data-attachment-id=\"11231\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/install-magento-247\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?fit=1121%2C632&amp;ssl=1\" data-orig-size=\"1121,632\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Install Magento 247\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?fit=800%2C451&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?resize=800%2C451&#038;ssl=1\" alt=\"\" class=\"wp-image-11231\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?resize=1024%2C577&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?resize=768%2C433&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Install-Magento-247.png?w=1121&amp;ssl=1 1121w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">11. Execute Additional Tweaks After Installed<\/h2>\n\n\n\n<p>Go to <code>app\\etc\\di.xml<\/code>, search <code>Symlink<\/code> and replace with <code>Copy<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"355\" data-attachment-id=\"7109\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/search-symlink-in-di-xml_\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?fit=1357%2C603&amp;ssl=1\" data-orig-size=\"1357,603\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Search-Symlink-in-di.xml_\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?fit=300%2C133&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?fit=800%2C355&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?resize=800%2C355&#038;ssl=1\" alt=\"Search Symlink in di.xml\" class=\"wp-image-7109\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?w=1357&amp;ssl=1 1357w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?resize=300%2C133&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?resize=1024%2C455&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Search-Symlink-in-di.xml_.png?resize=768%2C341&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"319\" data-attachment-id=\"7110\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/replace-symlink-with-copy-in-di-xml_\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?fit=1321%2C526&amp;ssl=1\" data-orig-size=\"1321,526\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Replace-Symlink-with-Copy-in-di.xml_\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?fit=300%2C119&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?fit=800%2C319&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?resize=800%2C319&#038;ssl=1\" alt=\"Replace Symlink with Copy in di.xml\" class=\"wp-image-7110\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?w=1321&amp;ssl=1 1321w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?resize=300%2C119&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?resize=1024%2C408&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Replace-Symlink-with-Copy-in-di.xml_.png?resize=768%2C306&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Next, fix Magento 2 admin blank page. In <code>vendor\\magento\\framework\\View\\Element\\Template\\File\\Validator.php<\/code>, replace line 138 with:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n$realPath = str_replace('\\\\', '\/',$this-&gt;fileDriver-&gt;getRealPath($path));\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"469\" data-attachment-id=\"7111\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/fix-magento-2-4-2-admin-blank-page\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?fit=1161%2C680&amp;ssl=1\" data-orig-size=\"1161,680\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Fix-magento-2.4.2-admin-blank-page\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?fit=300%2C176&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?fit=800%2C469&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?resize=800%2C469&#038;ssl=1\" alt=\"Fix magento 2.4.2 admin blank page\" class=\"wp-image-7111\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?w=1161&amp;ssl=1 1161w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?resize=300%2C176&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?resize=1024%2C600&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Fix-magento-2.4.2-admin-blank-page.png?resize=768%2C450&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Finally, run step by step these commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento indexer:reindex\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento setup:upgrade\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento setup:di:compile\n<\/pre><\/div>\n\n\n<p>If you encounter an error related to PluginListGenerator.php while running the di:compile command, please refer to the following article: <a href=\"https:\/\/www.magetop.com\/blog\/fix-magento-2-failed-to-open-stream-error\/\">Fix Failed to Open Stream Error in PluginListGenerator.php in Magento 2<\/a>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento setup:static-content:deploy -f\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento cache:flush\n<\/pre><\/div>\n\n\n<p>If you have problems with the Admin Page: \u201cFailed to send the message. Please contact the administrator\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"638\" height=\"605\" data-attachment-id=\"3416\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-on-xampp\/two-factor-error\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Two-Factor-Error.jpg?fit=638%2C605&amp;ssl=1\" data-orig-size=\"638,605\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Two-Factor-Error\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Two-Factor-Error.jpg?fit=300%2C284&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Two-Factor-Error.jpg?fit=638%2C605&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Two-Factor-Error.jpg?resize=638%2C605&#038;ssl=1\" alt=\"Two-Factor Authorization Error\" class=\"wp-image-3416\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Two-Factor-Error.jpg?w=638&amp;ssl=1 638w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Two-Factor-Error.jpg?resize=300%2C284&amp;ssl=1 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/figure>\n\n\n\n<p>You need to disable the Two-Factor Authorization module using the following command:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento module:disable Magento_AdminAdobeImsTwoFactorAuth Magento_TwoFactorAuth\n<\/pre><\/div>\n\n\n<p>After fixing TwoFactorAuth, if you log in but the admin login page remains refreshing after clicking Sign In, you can refer to this article: <a href=\"https:\/\/www.magetop.com\/blog\/fix-magento-2-admin-login-page-reloading\/\">Fix Magento 2 Admin Login Page Reloading Issue on Windows<\/a>.<\/p>\n\n\n\n<p>So we have successfully installed Magento 2.4.7 on localhost. Here are the results:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"698\" data-attachment-id=\"11236\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/magento-2-home-page\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?fit=1304%2C1138&amp;ssl=1\" data-orig-size=\"1304,1138\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Magento 2 Home Page\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?fit=300%2C262&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?fit=800%2C698&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?resize=800%2C698&#038;ssl=1\" alt=\"\" class=\"wp-image-11236\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?resize=1024%2C894&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?resize=300%2C262&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?resize=768%2C670&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Home-Page.png?w=1304&amp;ssl=1 1304w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"646\" data-attachment-id=\"11240\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/magento-2-admin-panel\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?fit=1257%2C1015&amp;ssl=1\" data-orig-size=\"1257,1015\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Magento 2 Admin Panel\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?fit=300%2C242&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?fit=800%2C646&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?resize=800%2C646&#038;ssl=1\" alt=\"\" class=\"wp-image-11240\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?resize=1024%2C827&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?resize=300%2C242&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?resize=768%2C620&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Magento-2-Admin-Panel.png?w=1257&amp;ssl=1 1257w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>This is <strong>How To Install Magento 2.4.7 On XAMPP<\/strong>.<\/p>\n\n\n\n<p>Follow us for more helpful article!<\/p>\n\n\n\n<p>We hope this is useful blog for you.<\/p>\n\n\n\n<p>Thank you for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento 2.4.7 came out with a lot of improvements and useful features, especially a few tweaks to improve security. This makes it difficult to install on localhost. But after a period of research, we can install it successfully, follow the posts How to install Magento 2.4.2 On XAMPP to be able to do it.<\/p>\n","protected":false},"author":106,"featured_media":11237,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[2583,2582,2585,107,2200,2584],"class_list":["post-7066","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-tutorials","tag-how-to-install-magento-2-4-7-on-xampp","tag-install-magento-2-on-xampp","tag-install-magento-2-4-7-on-xampp","tag-magento-2-tutorials","tag-magento-2-4-7","tag-magento-2-4-7-on-xampp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Install Magento 2.4.7 On XAMPP - Magetop Blog<\/title>\n<meta name=\"description\" content=\"After a period of research, we can install it successfully, follow the posts How to install Magento 2.4.7 On XAMPP to be able to do it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install Magento 2.4.7 On XAMPP - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"After a period of research, we can install it successfully, follow the posts How to install Magento 2.4.7 On XAMPP to be able to do it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-04T04:02:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-04T15:35:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1355\" \/>\n\t<meta property=\"og:image:height\" content=\"753\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aaron LX\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aaron LX\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\"},\"author\":{\"name\":\"Aaron LX\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\"},\"headline\":\"How To Install Magento 2.4.7 On XAMPP\",\"datePublished\":\"2021-08-04T04:02:35+00:00\",\"dateModified\":\"2026-02-04T15:35:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\"},\"wordCount\":592,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1\",\"keywords\":[\"How To Install Magento 2.4.7 On XAMPP\",\"install magento 2 on xampp\",\"Install Magento 2.4.7 On XAMPP\",\"magento 2 tutorials\",\"Magento 2.4.7\",\"Magento 2.4.7 On XAMPP\"],\"articleSection\":[\"Magento 2 Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\",\"name\":\"How To Install Magento 2.4.7 On XAMPP - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1\",\"datePublished\":\"2021-08-04T04:02:35+00:00\",\"dateModified\":\"2026-02-04T15:35:38+00:00\",\"description\":\"After a period of research, we can install it successfully, follow the posts How to install Magento 2.4.7 On XAMPP to be able to do it.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1\",\"width\":1355,\"height\":753,\"caption\":\"How To Install Magento 2 On XAMPP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install Magento 2.4.7 On XAMPP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\",\"name\":\"Aaron LX\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"caption\":\"Aaron LX\"},\"description\":\"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.\",\"url\":\"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install Magento 2.4.7 On XAMPP - Magetop Blog","description":"After a period of research, we can install it successfully, follow the posts How to install Magento 2.4.7 On XAMPP to be able to do it.","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:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/","og_locale":"en_US","og_type":"article","og_title":"How To Install Magento 2.4.7 On XAMPP - Magetop Blog","og_description":"After a period of research, we can install it successfully, follow the posts How to install Magento 2.4.7 On XAMPP to be able to do it.","og_url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2021-08-04T04:02:35+00:00","article_modified_time":"2026-02-04T15:35:38+00:00","og_image":[{"width":1355,"height":753,"url":"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png","type":"image\/png"}],"author":"Aaron LX","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Aaron LX","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/"},"author":{"name":"Aaron LX","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7"},"headline":"How To Install Magento 2.4.7 On XAMPP","datePublished":"2021-08-04T04:02:35+00:00","dateModified":"2026-02-04T15:35:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/"},"wordCount":592,"commentCount":1,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","keywords":["How To Install Magento 2.4.7 On XAMPP","install magento 2 on xampp","Install Magento 2.4.7 On XAMPP","magento 2 tutorials","Magento 2.4.7","Magento 2.4.7 On XAMPP"],"articleSection":["Magento 2 Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/","url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/","name":"How To Install Magento 2.4.7 On XAMPP - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","datePublished":"2021-08-04T04:02:35+00:00","dateModified":"2026-02-04T15:35:38+00:00","description":"After a period of research, we can install it successfully, follow the posts How to install Magento 2.4.7 On XAMPP to be able to do it.","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","width":1355,"height":753,"caption":"How To Install Magento 2 On XAMPP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Install Magento 2.4.7 On XAMPP"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7","name":"Aaron LX","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","caption":"Aaron LX"},"description":"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.","url":"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-1PY","jetpack-related-posts":[{"id":11204,"url":"https:\/\/www.magetop.com\/blog\/fix-magento-2-failed-to-open-stream-error\/","url_meta":{"origin":7066,"position":0},"title":"Fix Failed to Open Stream Error in PluginListGenerator.php in Magento 2","author":"Aaron LX","date":"February 1, 2026","format":false,"excerpt":"When installing or compiling Magento 2, especially on XAMPP environments, you may encounter a \u201cFailed to open stream\u201d error related to PluginListGenerator.php. This issue has been observed in multiple Magento 2 versions, including Magento 2.4.7, and commonly occurs during dependency injection compilation. The error is caused by an invalid cache\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"Fix Failed to Open Stream Error in PluginListGenerator.php in Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/02\/Fix-Failed-to-Open-Stream-Error-in-PluginListGenerator.php-in-Magento-2.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/02\/Fix-Failed-to-Open-Stream-Error-in-PluginListGenerator.php-in-Magento-2.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/02\/Fix-Failed-to-Open-Stream-Error-in-PluginListGenerator.php-in-Magento-2.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/02\/Fix-Failed-to-Open-Stream-Error-in-PluginListGenerator.php-in-Magento-2.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/02\/Fix-Failed-to-Open-Stream-Error-in-PluginListGenerator.php-in-Magento-2.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":11551,"url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/","url_meta":{"origin":7066,"position":1},"title":"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide)","author":"Aaron LX","date":"March 23, 2026","format":false,"excerpt":"Setting up a local development environment for Magento 2 can often feel like a daunting task, especially on Windows. However, using Laragon makes this process significantly smoother. In this comprehensive guide, we will walk you through the exact steps to install Magento 2.4.7 on Laragon running on Windows 11. By\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Magento 2 On XAMPP","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":5476,"url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-ubuntu\/","url_meta":{"origin":7066,"position":2},"title":"How To Install Magento 2.4.7 On Ubuntu","author":"Aaron LX","date":"May 14, 2021","format":false,"excerpt":"Magento 2.4.7 has been released with hundreds of quality fixes and enhancements, enhancing GraphQL coverage for custom attributes and resolver caches. Please follow the post\u00a0How To Install Magento 2.4.7 On Ubuntu to install it successfully.","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Magento 2.4.7 On Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Magento-2.4.7-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Magento-2.4.7-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Magento-2.4.7-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Magento-2.4.7-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Magento-2.4.7-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3391,"url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-on-xampp\/","url_meta":{"origin":7066,"position":3},"title":"How to install Magento 2.4 On XAMPP","author":"Aaron LX","date":"November 25, 2020","format":false,"excerpt":"Recently Magento has released Magento 2.4 version with many improvements and useful features, especially Magento switched to the Elasticsearch search method, which made people eager to install it on localhost. The tricky thing happens when the install button is lost in the installer. It is a conundrum for users who\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How to install Magento 2.4 On XAMPP","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/How-to-install-Magento-2.4-On-XAMPP.jpg?fit=750%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/How-to-install-Magento-2.4-On-XAMPP.jpg?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/How-to-install-Magento-2.4-On-XAMPP.jpg?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/How-to-install-Magento-2.4-On-XAMPP.jpg?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1152,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-magento-2-3-in-windows-using-xampp\/","url_meta":{"origin":7066,"position":4},"title":"How To Install Magento 2.3 In Windows Using XAMPP","author":"Aaron LX","date":"January 14, 2020","format":false,"excerpt":"In this article, we will introduce you about How To Install Magento 2.3 In Windows Using XAMPP. The installation is quite easy, please follow these steps:","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Magento 2.3 In Windows Using XAMPP","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Install-Magento-2.3-In-Windows-Using-XAMPP.png?fit=750%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Install-Magento-2.3-In-Windows-Using-XAMPP.png?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Install-Magento-2.3-In-Windows-Using-XAMPP.png?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Install-Magento-2.3-In-Windows-Using-XAMPP.png?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1195,"url":"https:\/\/www.magetop.com\/blog\/how-to-fix-blank-admin-page-on-magento-2-3-in-windows\/","url_meta":{"origin":7066,"position":5},"title":"How To Fix Blank Admin Page On Magento 2.3 In Windows","author":"Aaron LX","date":"January 15, 2020","format":false,"excerpt":"Magento 2 may appear many errors after installation. Follow How to fix blank admin page on Magento 2.3 in Windows to get the best fix from us!","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Fix Blank Admin Page On Magento 2.3 In Windows","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Fix-Blank-Admin-Page-On-Magento-2.3-In-Windows.png?fit=750%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Fix-Blank-Admin-Page-On-Magento-2.3-In-Windows.png?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Fix-Blank-Admin-Page-On-Magento-2.3-In-Windows.png?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Fix-Blank-Admin-Page-On-Magento-2.3-In-Windows.png?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/7066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=7066"}],"version-history":[{"count":17,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/7066\/revisions"}],"predecessor-version":[{"id":11241,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/7066\/revisions\/11241"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/11237"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=7066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=7066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=7066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}