{"id":11551,"date":"2026-03-23T06:28:27","date_gmt":"2026-03-23T06:28:27","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=11551"},"modified":"2026-03-23T06:28:31","modified_gmt":"2026-03-23T06:28:31","slug":"install-magento-2-4-7-laragon","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/","title":{"rendered":"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide)"},"content":{"rendered":"\n<p>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 <strong>install Magento 2.4.7 on Laragon<\/strong> running on Windows 11.<\/p>\n\n\n\n<p>By the end of this tutorial, you will have a fully functional Magento 2.4.7 installation ready for theme development, extension building, or testing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. Prerequisites for Magento 2.4.7<\/strong><\/h2>\n\n\n\n<p>Magento 2.4.7 has strict system requirements. To ensure a smooth installation, your local machine must have the following components ready:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>OS:<\/strong> Windows 11.<\/li>\n\n\n\n<li><strong>Web Server:<\/strong> Apache (provided by Laragon).<\/li>\n\n\n\n<li><strong>PHP:<\/strong> Version <strong>8.2<\/strong> or <strong>8.3<\/strong>. (Magento 2.4.7 does <em>not<\/em> support PHP 8.1 or lower).<\/li>\n\n\n\n<li><strong>Database:<\/strong> MySQL 8.0 or MariaDB 10.6+.<\/li>\n\n\n\n<li><strong>Composer:<\/strong> Version 2.2 or later.<\/li>\n\n\n\n<li><strong>Search Engine (Mandatory):<\/strong> <strong>Elasticsearch<\/strong> (7.17+) or <strong>OpenSearch<\/strong> (2.5+). <em>Magento 2.4+ will not install without one of these.<\/em><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. Download and Install Laragon<\/strong><\/h2>\n\n\n\n<p>Before configuring anything, you need to have the Laragon environment installed on your Windows 11 machine. Laragon is highly recommended for Magento because of its isolated environment and fast performance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"383\" data-attachment-id=\"11552\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/download-laragon\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?fit=1903%2C911&amp;ssl=1\" data-orig-size=\"1903,911\" 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 Laragon\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?fit=300%2C144&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?fit=800%2C383&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?resize=800%2C383&#038;ssl=1\" alt=\"\" class=\"wp-image-11552\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?resize=1024%2C490&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?resize=300%2C144&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?resize=768%2C368&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?resize=1536%2C735&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?w=1903&amp;ssl=1 1903w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Laragon.png?w=1600&amp;ssl=1 1600w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the official <a href=\"https:\/\/laragon.org\/download\/\" target=\"_blank\" rel=\"noreferrer noopener\">Laragon download page<\/a>.<\/li>\n\n\n\n<li>Download the <strong>Laragon Full<\/strong> version (this package includes Apache, Nginx, MySQL, and PHP out of the box).<\/li>\n\n\n\n<li>Run the downloaded <code>.exe<\/code> file and follow the installation wizard.<\/li>\n\n\n\n<li><strong>Important:<\/strong> Install Laragon directly in the root directory (e.g., <code>C:\\laragon<\/code>) to avoid Windows permission issues later.<\/li>\n\n\n\n<li>Once installed, open the Laragon app and click <strong>Start All<\/strong> to verify that Apache and MySQL are running without port conflicts.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"509\" data-attachment-id=\"11554\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/verify-laragon-run-with-start-all\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?fit=1029%2C655&amp;ssl=1\" data-orig-size=\"1029,655\" 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=\"Verify Laragon Run With Start All\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?fit=300%2C191&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?fit=800%2C509&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?resize=800%2C509&#038;ssl=1\" alt=\"\" class=\"wp-image-11554\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?resize=1024%2C652&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?resize=300%2C191&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?resize=768%2C489&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Verify-Laragon-Run-With-Start-All.png?w=1029&amp;ssl=1 1029w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3. Configure the Laragon Environment<\/strong><\/h2>\n\n\n\n<p>With Laragon installed, we need to ensure it is running the correct PHP stack for Magento 2.4.7.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3.1 Switch to PHP 8.2 or 8.3 (If needed)<\/strong><\/h4>\n\n\n\n<p>Magento 2.4.7 mandates PHP 8.2+. If your Laragon isn&#8217;t running this version by default:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the <strong>PHP 8.2 (VS16 x64 Non Thread Safe)<\/strong> zip file from <a href=\"https:\/\/windows.php.net\/download\/\" target=\"_blank\" rel=\"noreferrer noopener\">windows.php.net<\/a>.<\/li>\n\n\n\n<li>Extract the zip into <code>C:\\laragon\\bin\\php\\<\/code>.<\/li>\n\n\n\n<li>Right-click the Laragon UI &gt; <strong>PHP<\/strong> &gt; <strong>Version<\/strong> and select your new <code>php-8.2.x<\/code> folder.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3.2 Enable Required PHP Extensions<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Right-click Laragon UI &gt; <strong>PHP<\/strong> &gt; <strong>Extensions<\/strong>.<\/li>\n\n\n\n<li>Ensure the following extensions are checked: <code>bcmath<\/code>, <code>ctype<\/code>, <code>curl<\/code>, <code>dom<\/code>, <code>gd<\/code>, <code>intl<\/code>, <code>mbstring<\/code>, <code>pdo_mysql<\/code>, <code>soap<\/code>, <code>sockets<\/code>, <code>sodium<\/code>, <code>xsl<\/code>, and <code>zip<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"762\" data-attachment-id=\"11555\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/enable-required-php-extension\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?fit=1067%2C1016&amp;ssl=1\" data-orig-size=\"1067,1016\" 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=\"Enable Required PHP Extension\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?fit=300%2C286&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?fit=800%2C762&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension-1024x975.png?resize=800%2C762&#038;ssl=1\" alt=\"\" class=\"wp-image-11555\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?resize=1024%2C975&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?resize=300%2C286&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?resize=768%2C731&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Enable-Required-PHP-Extension.png?w=1067&amp;ssl=1 1067w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">3.3 Configure <code>php.ini<\/code> Settings<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Right-click Laragon UI &gt; <strong>PHP<\/strong> &gt; <strong>php.ini<\/strong>.<\/li>\n\n\n\n<li>Search for and update these limits to prevent installation timeouts:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nmemory_limit = 4G\nmax_execution_time = 3600\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=\"509\" data-attachment-id=\"11557\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/config-php-ini-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?fit=1028%2C654&amp;ssl=1\" data-orig-size=\"1028,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=\"Config PHP ini\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?fit=300%2C191&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?fit=800%2C509&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?resize=800%2C509&#038;ssl=1\" alt=\"\" class=\"wp-image-11557\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?resize=1024%2C651&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?resize=300%2C191&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?resize=768%2C489&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Config-PHP-ini.png?w=1028&amp;ssl=1 1028w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3.4 Downgrade MySQL to 8.0<\/strong><\/h4>\n\n\n\n<p>Newer versions of Laragon come packaged with MySQL 8.4, but Magento 2.4.7 strictly requires MySQL 8.0. Downgrading in Laragon is incredibly simple:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the <strong><a href=\"https:\/\/downloads.mysql.com\/archives\/community\/\">MySQL 8.0.x ZIP Archive<\/a><\/strong> from the official MySQL Community Downloads page.<\/li>\n\n\n\n<li>Extract the downloaded file and move the entire folder into <code>C:\\laragon\\bin\\mysql\\<\/code>.<\/li>\n\n\n\n<li>Right-click the Laragon UI &gt; <strong>MySQL<\/strong> &gt; <strong>Version<\/strong> and select your newly added <code>mysql-8.0.x<\/code> folder. <em>(Pro Tip: If MySQL fails to start after switching, simply navigate to <code>C:\\laragon\\data\\<\/code> and rename the existing <code>mysql<\/code> folder. Laragon will automatically generate a fresh, compatible data folder for version 8.0).<\/em><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4. Install and Run Elasticsearch<\/strong><\/h2>\n\n\n\n<p>Magento 2.4+ requires a search engine to install successfully.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download <strong><a href=\"https:\/\/www.elastic.co\/downloads\/past-releases\/elasticsearch-7-17-29\">Elasticsearch 7.17<\/a><\/strong> for Windows from the official Elastic website.<\/li>\n\n\n\n<li>Extract the folder to a simple path, like <code>C:\\elasticsearch<\/code>.<\/li>\n\n\n\n<li>Open a Command Prompt or Laragon Terminal and execute: <code>C:\\elasticsearch\\bin\\elasticsearch.bat<\/code><\/li>\n\n\n\n<li>Leave this terminal window open. You can verify it is running by navigating to <code>http:\/\/localhost:9200<\/code> in your web browser.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"421\" data-attachment-id=\"11559\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/run-elasticsearch\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?fit=985%2C518&amp;ssl=1\" data-orig-size=\"985,518\" 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 Elasticsearch\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?fit=300%2C158&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?fit=800%2C421&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?resize=800%2C421&#038;ssl=1\" alt=\"\" class=\"wp-image-11559\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?w=985&amp;ssl=1 985w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?resize=300%2C158&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?resize=768%2C404&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Run-Elasticsearch.png?resize=390%2C205&amp;ssl=1 390w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5. Create a Database<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click <strong>Database<\/strong> in the Laragon UI to open HeidiSQL.<\/li>\n\n\n\n<li>Connect to your local server (usually <code>root<\/code> with a blank password).<\/li>\n\n\n\n<li>Right-click your connection &gt; <strong>Create new<\/strong> &gt; <strong>Database<\/strong>.<\/li>\n\n\n\n<li>Name the database <code>magento247<\/code> and click <strong>OK<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"455\" data-attachment-id=\"11558\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/create-new-db\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?fit=895%2C509&amp;ssl=1\" data-orig-size=\"895,509\" 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 New DB\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?fit=300%2C171&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?fit=800%2C455&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?resize=800%2C455&#038;ssl=1\" alt=\"\" class=\"wp-image-11558\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?w=895&amp;ssl=1 895w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?resize=300%2C171&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Create-New-DB.png?resize=768%2C437&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6. Download Magento 2.4.7 via Composer<\/strong><\/h2>\n\n\n\n<p>We will use Composer to fetch the Magento core files.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click <strong>Terminal<\/strong> in the Laragon UI.<\/li>\n\n\n\n<li>Navigate to the Laragon web root: <code>cd C:\\laragon\\www<\/code><\/li>\n\n\n\n<li>Run the Composer command to create your project (replace <code>magento2<\/code> with your preferred folder name):<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\ncomposer create-project --repository-url=https:\/\/repo.magento.com\/ magento\/project-community-edition=2.4.7-p3 magento2\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=\"453\" data-attachment-id=\"11560\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/download-magento-247\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?fit=986%2C558&amp;ssl=1\" data-orig-size=\"986,558\" 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\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?fit=300%2C170&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?fit=800%2C453&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?resize=800%2C453&#038;ssl=1\" alt=\"\" class=\"wp-image-11560\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?w=986&amp;ssl=1 986w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?resize=300%2C170&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Download-Magento-247.png?resize=768%2C435&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>(Note: You will need your Magento Marketplace Public and Private keys for authentication).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>7. Fix Magento_Theme Error<\/strong><\/h2>\n\n\n\n<p>To fix Module \u2018Magento_Theme\u2019 Error, go to&nbsp;xampp\/htdocs\/{magento-folder}\/vendor\/magento\/framework\/Image\/Adapter\/Gd2.php&nbsp;and 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\"><img loading=\"lazy\" decoding=\"async\" width=\"1159\" height=\"740\" 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\" class=\"wp-image-7104\" 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&amp;ssl=1\" alt=\"Fix Magento_Theme Error In Magento 2.4.2\" 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<p>\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>8. Install Magento 2.4.7<\/strong><\/h2>\n\n\n\n<p>Now, we execute the installation script.<\/p>\n\n\n\n<p>1. In the terminal, move into your new project directory:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncd magento2\n<\/pre><\/div>\n\n\n<p>2. Run the installation command:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nphp bin\/magento setup:install --base-url=&quot;http:\/\/magento2.test\/&quot; --db-host=&quot;localhost&quot; --db-name=&quot;magento247&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<p>Laragon&#8217;s Auto-Virtual Hosts feature will automatically route <code>http:\/\/magento2.test<\/code> to your project folder.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"453\" data-attachment-id=\"11567\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/install-magento-2-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?fit=985%2C558&amp;ssl=1\" data-orig-size=\"985,558\" 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 2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?fit=300%2C170&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?fit=800%2C453&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?resize=800%2C453&#038;ssl=1\" alt=\"\" class=\"wp-image-11567\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?w=985&amp;ssl=1 985w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?resize=300%2C170&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Install-Magento-2.png?resize=768%2C435&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>9. Execute Additional Tweaks After Installed<\/strong><\/h2>\n\n\n\n<p>Go to&nbsp;<code>app\\etc\\di.xml<\/code>, search&nbsp;<code>Symlink<\/code>&nbsp;and replace with&nbsp;<code>Copy<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1357\" height=\"603\" 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&amp;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\"><img loading=\"lazy\" decoding=\"async\" width=\"1321\" height=\"526\" 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&amp;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\u00a0<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<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:\u00a0<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\"><img 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&amp;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:&nbsp;<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><strong>Security Tip:<\/strong> For the best local performance and security, it is highly recommended to set your web server document root to the <code>pub\/<\/code> directory. You can do this by editing your project&#8217;s <code>.conf<\/code> file in <code>C:\\laragon\\etc\\apache2\\alias<\/code>.<\/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=\"415\" data-attachment-id=\"11571\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/magento-2-home-page-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?fit=1919%2C995&amp;ssl=1\" data-orig-size=\"1919,995\" 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\/2026\/03\/Magento-2-Home-Page.png?fit=300%2C156&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?fit=800%2C415&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?resize=800%2C415&#038;ssl=1\" alt=\"\" class=\"wp-image-11571\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?resize=1024%2C531&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?resize=300%2C156&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?resize=768%2C398&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?resize=1536%2C796&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?w=1919&amp;ssl=1 1919w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Home-Page.png?w=1600&amp;ssl=1 1600w\" 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=\"413\" data-attachment-id=\"11572\" data-permalink=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/magento-2-admin-panel-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?fit=1919%2C992&amp;ssl=1\" data-orig-size=\"1919,992\" 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\/2026\/03\/Magento-2-Admin-Panel.png?fit=300%2C155&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?fit=800%2C413&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?resize=800%2C413&#038;ssl=1\" alt=\"\" class=\"wp-image-11572\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?resize=1024%2C529&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?resize=768%2C397&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?resize=1536%2C794&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?w=1919&amp;ssl=1 1919w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Admin-Panel.png?w=1600&amp;ssl=1 1600w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Congratulations! You have successfully learned how to <strong>install Magento 2.4.7 on Laragon<\/strong> running Windows 11. By using Laragon instead of XAMPP, you benefit from a faster, more flexible local development environment.<\/p>\n\n\n\n<p>If you encounter any issues or errors during the installation process, drop a comment below and we will help you troubleshoot!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up a local development environment for Magento 2 can often feel like a daunting task, especially on Windows. However,<\/p>\n","protected":false},"author":106,"featured_media":11574,"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":[2633,2637,125,2200,2638,2635,2636],"class_list":["post-11551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-tutorials","tag-laragon","tag-local-environment","tag-magento-2","tag-magento-2-4-7","tag-magento-setup","tag-php-8-2","tag-windows-11"],"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 Laragon (Windows 11 Guide) - Magetop Blog<\/title>\n<meta name=\"description\" content=\"Learn how to install Magento 2.4.7 on Laragon in Windows 11 with this step-by-step guide. Set up your local development environment quickly.\" \/>\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-laragon\/\" \/>\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 Laragon (Windows 11 Guide) - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how to install Magento 2.4.7 on Laragon in Windows 11 with this step-by-step guide. Set up your local development environment quickly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/\" \/>\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=\"2026-03-23T06:28:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-23T06:28:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/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=\"7 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-laragon\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/\"},\"author\":{\"name\":\"Aaron LX\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\"},\"headline\":\"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide)\",\"datePublished\":\"2026-03-23T06:28:27+00:00\",\"dateModified\":\"2026-03-23T06:28:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/\"},\"wordCount\":868,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1\",\"keywords\":[\"laragon\",\"Local Environment\",\"magento 2\",\"Magento 2.4.7\",\"Magento Setup\",\"PHP 8.2\",\"Windows 11\"],\"articleSection\":[\"Magento 2 Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/\",\"name\":\"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide) - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1\",\"datePublished\":\"2026-03-23T06:28:27+00:00\",\"dateModified\":\"2026-03-23T06:28:31+00:00\",\"description\":\"Learn how to install Magento 2.4.7 on Laragon in Windows 11 with this step-by-step guide. Set up your local development environment quickly.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/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\/2026\/03\/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-laragon\/#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 Laragon (Windows 11 Guide)\"}]},{\"@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 Laragon (Windows 11 Guide) - Magetop Blog","description":"Learn how to install Magento 2.4.7 on Laragon in Windows 11 with this step-by-step guide. Set up your local development environment quickly.","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-laragon\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide) - Magetop Blog","og_description":"Learn how to install Magento 2.4.7 on Laragon in Windows 11 with this step-by-step guide. Set up your local development environment quickly.","og_url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2026-03-23T06:28:27+00:00","article_modified_time":"2026-03-23T06:28:31+00:00","og_image":[{"width":1355,"height":753,"url":"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/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":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/"},"author":{"name":"Aaron LX","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7"},"headline":"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide)","datePublished":"2026-03-23T06:28:27+00:00","dateModified":"2026-03-23T06:28:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/"},"wordCount":868,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","keywords":["laragon","Local Environment","magento 2","Magento 2.4.7","Magento Setup","PHP 8.2","Windows 11"],"articleSection":["Magento 2 Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/","url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/","name":"How to Install Magento 2.4.7 on Laragon (Windows 11 Guide) - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","datePublished":"2026-03-23T06:28:27+00:00","dateModified":"2026-03-23T06:28:31+00:00","description":"Learn how to install Magento 2.4.7 on Laragon in Windows 11 with this step-by-step guide. Set up your local development environment quickly.","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-laragon\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/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\/2026\/03\/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-laragon\/#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 Laragon (Windows 11 Guide)"}]},{"@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\/2026\/03\/How-To-Install-Magento-2-On-XAMPP.png?fit=1355%2C753&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-30j","jetpack-related-posts":[{"id":11593,"url":"https:\/\/www.magetop.com\/blog\/magento-2-mailpit-setup-laragon\/","url_meta":{"origin":11551,"position":0},"title":"Magento 2 Mailpit Setup: A Quick Guide for Laragon","author":"Aaron LX","date":"March 27, 2026","format":false,"excerpt":"When developing an eCommerce store locally, testing your email flow is an absolute must. Whether it is customer registration, order confirmations, or password resets, you need to ensure these system emails are working correctly.Fortunately, if you use Laragon, you do not need to configure a real SMTP server like Gmail\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":"Magento 2 Mailpit Setup A Quick Guide for Laragon","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Mailpit-Setup-A-Quick-Guide-for-Laragon-Final-scaled.png?fit=1200%2C662&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Mailpit-Setup-A-Quick-Guide-for-Laragon-Final-scaled.png?fit=1200%2C662&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Mailpit-Setup-A-Quick-Guide-for-Laragon-Final-scaled.png?fit=1200%2C662&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Mailpit-Setup-A-Quick-Guide-for-Laragon-Final-scaled.png?fit=1200%2C662&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Magento-2-Mailpit-Setup-A-Quick-Guide-for-Laragon-Final-scaled.png?fit=1200%2C662&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":7066,"url":"https:\/\/www.magetop.com\/blog\/install-magento-2-4-7-on-xampp\/","url_meta":{"origin":11551,"position":1},"title":"How To Install Magento 2.4.7 On XAMPP","author":"Aaron LX","date":"August 4, 2021","format":false,"excerpt":"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\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\/2021\/08\/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\/2021\/08\/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\/2021\/08\/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\/2021\/08\/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\/2021\/08\/How-To-Install-Magento-2-On-XAMPP.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":11204,"url":"https:\/\/www.magetop.com\/blog\/fix-magento-2-failed-to-open-stream-error\/","url_meta":{"origin":11551,"position":2},"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":11584,"url":"https:\/\/www.magetop.com\/blog\/laragon-vs-docker\/","url_meta":{"origin":11551,"position":3},"title":"Laragon vs Docker: The Ultimate Local Environment Showdown for Web &amp; Magento Development","author":"Aaron LX","date":"March 25, 2026","format":false,"excerpt":"When setting up a local server for web development, developers often find themselves at a crossroads. For years, traditional stacks like XAMPP ruled the landscape. However, the modern debate has shifted entirely. Today, the biggest question is Laragon vs Docker: which one is the perfect local environment for your projects,\u2026","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Laragon vs Docker Which is the Best Local Environment for Magento","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-vs-Docker-Which-is-the-Best-Local-Environment-for-Magento.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\/Laragon-vs-Docker-Which-is-the-Best-Local-Environment-for-Magento.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-vs-Docker-Which-is-the-Best-Local-Environment-for-Magento.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-vs-Docker-Which-is-the-Best-Local-Environment-for-Magento.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-vs-Docker-Which-is-the-Best-Local-Environment-for-Magento.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":11551,"position":4},"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":11487,"url":"https:\/\/www.magetop.com\/blog\/laragon-local-development\/","url_meta":{"origin":11551,"position":5},"title":"Laragon Local Development: A Modern Choice for Windows","author":"Aaron LX","date":"March 18, 2026","format":false,"excerpt":"Setting up a local development environment has always been a fundamental step for web developers. Traditionally, tools like XAMPP were widely used to run PHP applications on Windows.However, as development workflows evolve, the requirements for local environments have also changed. Developers now need faster performance, better flexibility, and tools that\u2026","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Laragon Local Development A Modern Choice for Windows","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-Local-Development-A-Modern-Choice-for-Windows.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\/Laragon-Local-Development-A-Modern-Choice-for-Windows.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-Local-Development-A-Modern-Choice-for-Windows.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-Local-Development-A-Modern-Choice-for-Windows.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/03\/Laragon-Local-Development-A-Modern-Choice-for-Windows.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/11551","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=11551"}],"version-history":[{"count":12,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/11551\/revisions"}],"predecessor-version":[{"id":11573,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/11551\/revisions\/11573"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/11574"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=11551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=11551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=11551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}