{"id":2430,"date":"2021-09-30T15:09:31","date_gmt":"2021-09-30T15:09:31","guid":{"rendered":"https:\/\/ccbill.com\/kb\/?p=2430"},"modified":"2023-03-07T12:08:20","modified_gmt":"2023-03-07T12:08:20","slug":"install-magento-windows","status":"publish","type":"post","link":"https:\/\/ccbill.com\/kb\/install-magento-windows","title":{"rendered":"How To Install Magento 2 on Windows"},"content":{"rendered":"<p class=\"h3\">Introduction<\/p>\n\n\n<p>Launching an <a href=\"https:\/\/ccbill.com\/industries\/ecommerce\" target=\"_blank\" rel=\"noreferrer noopener\">ecommerce store<\/a> or <a href=\"https:\/\/ccbill.com\/kb\/update-magento-to-latest-version\" target=\"_blank\" rel=\"noreferrer noopener\">updating Magento to the latest version<\/a> requires lots of preparation and development.<\/p>\n\n\n\n<p>Installing Magento on a local server is an excellent way to explore and test its features. Magento 2.4 is only supported on Linux-based operating systems. However, it is possible to install and configure Magento on a local Windows system.<\/p>\n\n\n\n<p><strong>Find out how to set up a local web server and install Magento 2.4 on Windows.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"400\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png\" alt=\"Workers installing Magento on windows.\" class=\"wp-image-2432\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows-300x150.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Setting Up a Local Web Server<\/h2>\n\n\n\n<p>Before installing Magento 2.4 on Windows, create a working environment to support Magento's background processes. You need to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set up a local web server using XAMPP.<\/li>\n\n\n\n<li>Install Composer.<\/li>\n\n\n\n<li>Install Elasticsearch.<\/li>\n\n\n\n<li>Enable PHP extensions.<\/li>\n\n\n\n<li><a href=\"https:\/\/phoenixnap.com\/kb\/how-to-create-mysql-database-workbench\" target=\"_blank\" rel=\"noreferrer noopener\">Create a MySQL database<\/a> and user.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install XAMPP<\/h3>\n\n\n\n<p>XAMPP is a free and lightweight local web development solution. The XAMPP package contains all the elements (Apache, MariaDB, PHP, Perl) you need to create a local webserver.<\/p>\n\n\n\n<p>1. Download a XAMPP package for Windows from the <a href=\"https:\/\/www.apachefriends.org\/download.html\" target=\"_blank\" rel=\"noreferrer noopener\">Apache Friends<\/a> page. Select <strong>Download (64 bit)<\/strong> next to the XAMPP version you want to download. <\/p>\n\n\n\n<p>For example, to install Magento 2.4.3, download XAMPP version 7.4.23 \/ PHP 7.4.23.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"460\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-xampp-windows-magento.png\" alt=\"Download XAMPP from web.\" class=\"wp-image-2437\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-xampp-windows-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-xampp-windows-magento-300x173.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-xampp-windows-magento-768x442.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>If you plan to install a different version of Magento, check the <a rel=\"noreferrer noopener\" href=\"https:\/\/devdocs.magento.com\/guides\/v2.4\/install-gde\/system-requirements.html\" target=\"_blank\">Magento 2.4 system requirements<\/a> to determine which XAMPP package has the required PHP version. <\/p>\n\n\n\n<p>2. Double-click the XAMPP executable file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"198\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/start-xampp-installation.png\" alt=\"XAMPP executable file in Windows.\" class=\"wp-image-2440\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/start-xampp-installation.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/start-xampp-installation-300x74.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/start-xampp-installation-768x190.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Select <strong>Yes <\/strong>to continue with the installation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"274\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/instal-xampp-windoes-magento.png\" alt=\"XAMPP info durring installation.\" class=\"wp-image-2439\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/instal-xampp-windoes-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/instal-xampp-windoes-magento-300x103.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/instal-xampp-windoes-magento-768x263.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>4. Read the warning message and click <strong>OK<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"249\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-warning-windows-install.png\" alt=\"XAMPP warning message durring installation.\" class=\"wp-image-2436\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-warning-windows-install.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-warning-windows-install-300x93.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-warning-windows-install-768x239.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>5. Select <strong>Next<\/strong> to launch the XAMPP Setup Wizard.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"526\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-setup-wizard.png\" alt=\"XAMPP Setup Wizard screen.\" class=\"wp-image-2435\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-setup-wizard.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-setup-wizard-300x197.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-setup-wizard-768x505.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>6. Choose which XAMPP components you want to install and click <strong>Next<\/strong>. Apache, MySQL, PHP, Perl, and phpMyAdmin are essential for a Magento installation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"526\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-component-magento.png\" alt=\"Select XAMPP components to install.\" class=\"wp-image-2433\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-component-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-component-magento-300x197.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-component-magento-768x505.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>7. Select the XAMPP installation folder and click <strong>Next<\/strong>. The default folder for XAMPP is <strong><em>C:\\xampp<\/em><\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"528\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-install-folder.png\" alt=\"Select XAMPP installation folder.\" class=\"wp-image-2443\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-install-folder.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-install-folder-300x198.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-install-folder-768x507.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>8. Use the dropdown menu to choose the XAMPP language and click <strong>Next<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"523\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-language.png\" alt=\"Select XAMPP language.\" class=\"wp-image-2434\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-language.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-language-300x196.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-select-language-768x502.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>9. Uncheck the box if you do not want to visit the Bitnami XAMPP presentation and select <strong>Next<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"526\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-installer-bitnami.png\" alt=\"Skip Bitnami info page in XAMPP.\" class=\"wp-image-2442\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-installer-bitnami.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-installer-bitnami-300x197.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-installer-bitnami-768x505.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>10. Click <strong>Next <\/strong>to install XAMPP.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"798\" height=\"513\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/install-xampp-magento-windows-wizard.png\" alt=\"Start XAMPP installation.\" class=\"wp-image-2444\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/install-xampp-magento-windows-wizard.png 798w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/install-xampp-magento-windows-wizard-300x193.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/install-xampp-magento-windows-wizard-768x494.png 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/figure><\/div>\n\n\n<p>The system takes a few moments to complete the installation.<\/p>\n\n\n\n<p>11. Click <strong>Finish<\/strong> to close the Setup Wizard and access the XAMPP Control Panel.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"526\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-xampp-install-windows.png\" alt=\"Finish XAMPP installation.\" class=\"wp-image-2438\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-xampp-install-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-xampp-install-windows-300x197.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-xampp-install-windows-768x505.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>12. Start Apache and MySQL to confirm that the modules work correctly.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"516\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-control-panel-apache-mysql.png\" alt=\"Start Apache and MySQL in XAMPP.\" class=\"wp-image-2441\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-control-panel-apache-mysql.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-control-panel-apache-mysql-300x194.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/xampp-control-panel-apache-mysql-768x495.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>It may be necessary to modify the default Apache port if other applications on your system already use <strong>ports 80<\/strong> and <strong>443<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Install Composer<\/h3>\n\n\n\n<p>Composer allows you to reuse third-party libraries, repackage Magento Open Source with other components, and reduce PHP compatibility issues.<\/p>\n\n\n\n<p>1. Visit the official <a href=\"https:\/\/getcomposer.org\/download\/\" target=\"_blank\" rel=\"noreferrer noopener\">Composer page<\/a> and download the <strong>Composer-Setup.exe <\/strong>installer for Windows.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"409\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-composer-windows.png\" alt=\"Compser download page.\" class=\"wp-image-2449\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-composer-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-composer-windows-300x153.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-composer-windows-768x393.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>The installer automatically sets up the PATH environment variable and makes Composer globally available from any directory. <\/p>\n\n\n\n<p>2. Start the installer and select the install mode.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"313\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/select-composer-install-mode.png\" alt=\"Composer installation mode.\" class=\"wp-image-2451\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/select-composer-install-mode.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/select-composer-install-mode-300x117.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/select-composer-install-mode-768x300.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Choose an installation type. Check the box if you want to install Composer in Developer mode and select <strong>Next<\/strong> to proceed.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"420\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-instalation-types.png\" alt=\"Composer installation mode.\" class=\"wp-image-2454\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-instalation-types.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-instalation-types-300x158.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-instalation-types-768x403.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>4. Check the box to add the <strong><em>C:\\xampp\\php\\php.exe<\/em><\/strong> path and click <strong>Next<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"418\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/add-php-path-composer.png\" alt=\"Add PHP path in Composer.\" class=\"wp-image-2453\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/add-php-path-composer.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/add-php-path-composer-300x157.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/add-php-path-composer-768x401.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>5. Select <strong>Next<\/strong> if you do not plan to use a proxy server.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"379\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/use-proxy-server-composer.png\" alt=\"Create proxy server in Composer.\" class=\"wp-image-2452\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/use-proxy-server-composer.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/use-proxy-server-composer-300x142.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/use-proxy-server-composer-768x364.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>6. Review the settings to confirm that the PHP version and path are correct and select <strong>Install<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"445\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-settings-overview.png\" alt=\"Review Composer installation settings.\" class=\"wp-image-2455\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-settings-overview.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-settings-overview-300x167.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-settings-overview-768x427.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>7. Read the general Composer troubleshooting advice and select <strong>Next<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"461\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-troubleshooting-advice.png\" alt=\"Composer troubleshooting info.\" class=\"wp-image-2447\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-troubleshooting-advice.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-troubleshooting-advice-300x173.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-troubleshooting-advice-768x443.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>8. Click <strong>Finish<\/strong> to complete the Composer setup.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"530\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-composer-setup-windows.png\" alt=\"Finish Composer installation.\" class=\"wp-image-2450\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-composer-setup-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-composer-setup-windows-300x199.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/finish-composer-setup-windows-768x509.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>9. Access the Windows command line (cmd) and enter the following command to check if Composer is working:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer<\/code><\/pre>\n\n\n\n<p>The output confirms that <em>Composer 2.1.8<\/em> is successfully installed.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"422\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-version-cmd.png\" alt=\"Composer version check.\" class=\"wp-image-2448\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-version-cmd.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-version-cmd-300x158.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/composer-version-cmd-768x405.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Magento 2.4.1 and earlier releases require Composer version 1.x.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Install Elasticsearch<\/h3>\n\n\n\n<p>Magento uses Elasticsearch as a catalog search solution. The Magento 2.4 installation cannot proceed without installing and configuring Elasticsearch.<\/p>\n\n\n\n<p>1. Visit the official Elastic page and <a href=\"https:\/\/www.elastic.co\/downloads\/elasticsearch\" target=\"_blank\" rel=\"noreferrer noopener\">download Elasticsearch for Windows<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"417\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-elasticsearch-windows.png\" alt=\"Elasticsearch download page.\" class=\"wp-image-2457\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-elasticsearch-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-elasticsearch-windows-300x156.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-elasticsearch-windows-768x400.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>2. Extract the compressed files from <em>elasticsearch-7.15.0<\/em> within the <em>C:\\xampp\\htdocs<\/em> directory.<\/p>\n\n\n\n<p>3. Access the <em>C:\\xampp\\htdocs\\elaticsearch-7.15.0\\bin<\/em> folder and run the <strong><em>elasticsearch.bat<\/em><\/strong> file as an administrator.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"436\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/run-elasticsearch-bat-administrator.png\" alt=\"Run elasticsearch file as admin.\" class=\"wp-image-2460\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/run-elasticsearch-bat-administrator.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/run-elasticsearch-bat-administrator-300x164.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/run-elasticsearch-bat-administrator-768x419.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>The system launches Elasticsearch and opens the command prompt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"253\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-command-prompt-windows.png\" alt=\"Elasticsearch running in a Windows command line.\" class=\"wp-image-2459\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-command-prompt-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-command-prompt-windows-300x95.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-command-prompt-windows-768x243.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Always keep Elasticsearch running in the background when using Magento.<\/p>\n\n\n\n<p>4. Use a preferred browser and navigate to <strong>localhost:9200<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"423\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-browser-localhost.png\" alt=\"Check Elasticsearch is working in browser.\" class=\"wp-image-2458\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-browser-localhost.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-browser-localhost-300x159.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/elasticsearch-browser-localhost-768x406.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>The version number confirms that Elasticsearch is working as intended.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Modify php.ini File<\/h3>\n\n\n\n<p>Magento requires a set of PHP extensions for server-side scripting. The extensions are installed by default but may need to be enabled manually.<\/p>\n\n\n\n<p>1. Access the XAMPP control panel and select the Apache <strong>Config<\/strong> tab.<\/p>\n\n\n\n<p>2. Open the <em>php.ini<\/em> file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"483\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-php-ini-file-xampp.png\" alt=\"Open php.ini file using XAMPP.\" class=\"wp-image-2462\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-php-ini-file-xampp.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-php-ini-file-xampp-300x181.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-php-ini-file-xampp-768x464.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Remove the semi-colon (<strong>;<\/strong>) to uncomment the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>;extension=intl\n;extension=soap\n;extension=xsl\n;extension=sockets\n;extension=sodium<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"260\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/uncomment-lines-php-ini-file-xampp.png\" alt=\"Enable PHP extentions in php.ini file.\" class=\"wp-image-2465\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/uncomment-lines-php-ini-file-xampp.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/uncomment-lines-php-ini-file-xampp-300x98.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/uncomment-lines-php-ini-file-xampp-768x250.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>4. Change the PHP memory limit and execution time:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>max_execution_time=18000\nmemory_limit=4G<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"247\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/memory-limit-magento-php-ini.png\" alt=\"Change memory limit in php.ini file.\" class=\"wp-image-2463\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/memory-limit-magento-php-ini.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/memory-limit-magento-php-ini-300x93.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/memory-limit-magento-php-ini-768x237.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>5. Save the changes and exit the <em>php.ini<\/em> file. <\/p>\n\n\n\n<p>6. Restart the Apache service from the XAMPP control panel.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"456\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/restart-apache-magento-xampp.png\" alt=\"Start and stop Apache form XAMPP.\" class=\"wp-image-2464\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/restart-apache-magento-xampp.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/restart-apache-magento-xampp-300x171.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/restart-apache-magento-xampp-768x438.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Modifying PHP extension settings and the memory limit in the <em>php.ini<\/em> file is essential for a smooth Magento installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Create MySQL Database and User<\/h3>\n\n\n\n<p>Magento 2 needs a MySQL database to store data and settings related to users, products, and catalogs. To create a Magento database:<\/p>\n\n\n\n<p>1. Open the XAMPP control panel. <\/p>\n\n\n\n<p>2. Select <strong>Admin<\/strong> to access the phpMyAdmin interface.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"394\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/phpmyadmin-xampp.png\" alt=\"Access phpMyAdmin from XAMPP.\" class=\"wp-image-2469\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/phpmyadmin-xampp.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/phpmyadmin-xampp-300x148.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/phpmyadmin-xampp-768x378.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Open the <em>Databases<\/em> tab and enter a database name, for example, <strong><em>magento<\/em><\/strong>.<\/p>\n\n\n\n<p>4. Click <strong>Create<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"428\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/create-magetno-database-phpmyadmin.png\" alt=\"Create new Magento database in phpMyAdmin.\" class=\"wp-image-2468\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/create-magetno-database-phpmyadmin.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/create-magetno-database-phpmyadmin-300x161.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/create-magetno-database-phpmyadmin-768x411.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>5. Access the XAMPP <strong>Shell<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"369\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/access-xampp-shell.png\" alt=\"Access the XAMPP Shell.\" class=\"wp-image-2466\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/access-xampp-shell.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/access-xampp-shell-300x138.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/access-xampp-shell-768x354.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>6. Enter the following command to change the MySQL user password:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysqladmin.exe -u root password<\/code><\/pre>\n\n\n\n<p>The system asks you to enter a new password and confirm the new password for the <em>root<\/em> user.<\/p>\n\n\n\n<p>7. Access the <em>C:\\xampp\\phpMyAdmin\\<\/em> folder.<\/p>\n\n\n\n<p>8. Use a text editor, like Notepad++, to access and modify the <em>config.inc.php<\/em> file. <\/p>\n\n\n\n<p>Inserting the new password in the <em>Authentication type and info<\/em> section of the file ensures that phpMyAdmin uses the new password to log in by default. In this example, the MySQL user password is <strong><em>magento2<\/em><\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"315\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/cofigure-password-phpmyadmin-xampp.png\" alt=\"Insert new MySQL password to phpMyAdmin config file.\" class=\"wp-image-2467\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/cofigure-password-phpmyadmin-xampp.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/cofigure-password-phpmyadmin-xampp-300x118.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/cofigure-password-phpmyadmin-xampp-768x302.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>9. Use XAMPP to restart Apache and MySQL. <\/p>\n\n\n\n<p>Access phpMyAdmin to confirm that the new password works.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Install Magento on Windows (Step-by-Step)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Download Magento 2.4.3<\/h3>\n\n\n\n<p>1. Visit the official Magento website and <a href=\"https:\/\/account.magento.com\/customer\/account\/create\/\" target=\"_blank\" rel=\"noreferrer noopener\">create a free user account<\/a>.<\/p>\n\n\n\n<p>2. Access the <a href=\"https:\/\/magento.com\/tech-resources\/download\" target=\"_blank\" rel=\"noreferrer noopener\">Magento Downloads<\/a> page and locate the <em>Archive (zip\/tar)<\/em> section.<\/p>\n\n\n\n<p>3. Select the Magento Open Source version build (the latest version is <strong>2.4.3<\/strong>).<\/p>\n\n\n\n<p>4. Check the box to include sample data in the archive file.<\/p>\n\n\n\n<p>5. Click <strong>Download<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"799\" height=\"393\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-magento-zip-archive.png\" alt=\"Magento 2 download page.\" class=\"wp-image-2481\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-magento-zip-archive.png 799w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-magento-zip-archive-300x148.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/download-magento-zip-archive-768x378.png 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/figure><\/div>\n\n\n<p>6. Create a new folder in the <em>C:\\xampp\\htdocs<\/em> directory, for example, <em>C:\\xampp\\htdocs\\magento2.4\\<\/em>. <\/p>\n\n\n\n<p>7. Extract the compressed files from the downloaded Magento archive and place them within the <strong><em>magento2.4<\/em><\/strong> folder.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"503\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/extract-magento-archive.png\" alt=\"Magetno installation folder in Windows.\" class=\"wp-image-2483\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/extract-magento-archive.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/extract-magento-archive-300x189.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/extract-magento-archive-768x483.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Step 2: Set Up Apache Virtual Hosts<\/h3>\n\n\n\n<p>To set up an Apache virtual host:<\/p>\n\n\n\n<p>1. Access the <em>C:\\xampp\\apache\\conf\\extra\\ <\/em>folder.<\/p>\n\n\n\n<p>2. Use Notepad++ to open the <em>httpd-vhosts.conf<\/em>  file<em>.<\/em> <\/p>\n\n\n\n<p>3. Append the following content to the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\n    DocumentRoot &quot;C:\/xampp\/htdocs\/magento2.4\/&quot;\n    ServerName mystore.magento.com\n&lt;\/VirtualHost&gt;\n\n&lt;VirtualHost *:80&gt;\n    DocumentRoot &quot;C:\/xampp\/htdocs\/&quot;\n    ServerName localhost\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<p>Change the information to match your system\u2019s data, like the store\u2019s IP or domain name.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"379\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/apache-virtual-host-magento.png\" alt=\"Setting up virtual hosts for Magento 2 in Windows.\" class=\"wp-image-2478\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/apache-virtual-host-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/apache-virtual-host-magento-300x142.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/apache-virtual-host-magento-768x364.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>In this example, the path to the Magento installation directory is <em>C:\/xampp\/htdocs\/magento2.4\/<\/em>. The path needs to match the location of your installation folder.<\/p>\n\n\n\n<p>4. Access the <em>C:\\Windows\\System32\\drivers\\etc\\<\/em> folder.<\/p>\n\n\n\n<p>5. Run Notepad++ as an Administrator and open the <strong><em>hosts<\/em><\/strong> file. <\/p>\n\n\n\n<p>6. Add the following in the Windows <strong><em>hosts<\/em><\/strong> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>127.0.0.1  mystore.magento.com<\/code><\/pre>\n\n\n\n<p>Save the changes and exit the file.<\/p>\n\n\n\n<p>7. Use XAMPP to restart the Apache service and apply the changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Install Magento 2.4.3<\/h3>\n\n\n\n<p>To install Magento 2.4 on Windows:<\/p>\n\n\n\n<p>1. Open the Windows command line. <\/p>\n\n\n\n<p>2. Access the Magento root directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd C:\\xampp\\htdocs\\magento2.4\\<\/code><\/pre>\n\n\n\n<p>3. Enter the following command to install Magento:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento setup:install --base-url=&quot;http:\/\/mystore.magento.com&quot; --db-host=&quot;localhost&quot; --db-name=&quot;magento&quot; --db-user=&quot;root&quot; --db-password=&quot;magento2&quot; --admin-firstname=&quot;Bruce&quot; --admin-lastname=&quot;Banner&quot; --admin-email=&quot;thehulk@store.com&quot; --admin-user=&quot;Hulk&quot; --admin-password=&quot;Hulk123&quot; --language=&quot;en_US&quot; --currency=&quot;USD&quot; --timezone=&quot;America\/Chicago&quot; --use-rewrites=&quot;1&quot; --search-engine=&quot;elasticsearch7&quot; --elasticsearch-host=&quot;localhost&quot; --elasticsearch-port=&quot;9200&quot;<\/code><\/pre>\n\n\n\n<p>If necessary, edit the information to match your requirements and system configuration:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>base-url<\/strong> -<strong> <\/strong>The location (URL) of your store.<\/li>\n\n\n\n<li><strong>db-host<\/strong> - If Magento is on the same server as your database, use <em>localhost<\/em>. If you are using a separate database server, enter the hostname of that server.<\/li>\n\n\n\n<li><strong>db-name<\/strong> - The name of the MySQL database.<\/li>\n\n\n\n<li><strong>db-user<\/strong> - The username of your MySQL user.<\/li>\n\n\n\n<li><strong>db-password<\/strong> - &nbsp;The password for your MySQL user.<\/li>\n\n\n\n<li><strong>admin-firstname<\/strong> and <strong>admin-lastname<\/strong> - Enter the full name for the Magento admin user.<\/li>\n\n\n\n<li><strong>admin-email<\/strong> - Enter a contact email for system notifications and password resets.<\/li>\n\n\n\n<li><strong>admin-user<\/strong>\/<strong>admin-password<\/strong> - Create login credentials for the Magento Admin control panel.<\/li>\n\n\n\n<li><strong>language <\/strong>- The default language for your store.<\/li>\n\n\n\n<li><strong>currency <\/strong>- Define the base currency for your store.<\/li>\n\n\n\n<li><strong>timezone <\/strong>- Controls the default time zone for Magento.<\/li>\n\n\n\n<li><strong>use<\/strong>-<strong>rewrites<\/strong> - Enable rewrites by setting the value to <strong>1<\/strong>.<\/li>\n\n\n\n<li><strong>search-engine - <\/strong>The default search engine value needs to be set to<strong> elasticsearch7<\/strong>.<\/li>\n\n\n\n<li><strong>elasticsearch-host<\/strong> - If Elasticsearch is on the same server as Magento, use <em>localhost<\/em>. If you are using a separate server, enter the hostname of that server.<\/li>\n\n\n\n<li><strong>elasticsearch-port<\/strong> - The default Elasticsearch port number is <strong>9200<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>4. The output confirms that the installation is complete.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"239\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/successfull-magento-installation-windows.png\" alt=\"Succesfull Magetno 2 installation on Windows. \" class=\"wp-image-2476\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/successfull-magento-installation-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/successfull-magento-installation-windows-300x90.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/successfull-magento-installation-windows-768x229.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>The system creates a random Magento Admin URI and displays the value at the end of the installation process. <\/p>\n\n\n\n<p>Take note of the value as it allows you to access the Admin panel. If you need to retrieve the Admin URI at a later point, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bin\/magento info:adminuri<\/code><\/pre>\n\n\n\n<p>The command needs to be executed from the Magento root directory.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">In PatchApplier.php line 170 Error<\/h4>\n\n\n\n<p>Errors such as the <em>In PatchApplier.php line 170 Error<\/em> are not uncommon during the Magento installation process.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>In PatchApplier.php line 170 Error\n\nUnable to apply data patch Magento\\Theme\\Setup\\Patch\\Data\\RegisterThemes for module Magento_Theme. Original exception message: Wrong file\n\nIn Gd2.php line 72 \nWrong file<\/code><\/pre>\n\n\n\n<p>The error message indicates that there is an issue with the <em>Gd2.php<\/em> file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"224\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/patchapplier-php-error-magento-windows.png\" alt=\"Magento installation Windows error.\" class=\"wp-image-2475\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/patchapplier-php-error-magento-windows.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/patchapplier-php-error-magento-windows-300x84.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/patchapplier-php-error-magento-windows-768x215.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>To resolve the issue, modify the <strong><em>validateURLScheme<\/em><\/strong> function in the <em>Gd2.php<\/em> file. <\/p>\n\n\n\n<p>1. The file is in the <em>C:\\\\xampp\\htdocs\\magento2.4\\vendor\\magento\\framework\\Image\\Adapter\\<\/em> folder.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"308\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/gd2-file-magento-installation.png\" alt=\"Gd2 file in Magento.\" class=\"wp-image-2484\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/gd2-file-magento-installation.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/gd2-file-magento-installation-300x116.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/gd2-file-magento-installation-768x296.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Open the <em>Gd2.php<\/em> file using a text editor and add <strong><code>&amp;&amp; !file_exists($filename)<\/code><\/strong>at the end of line 98. Copy the following line of code and replace the existing line.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if ($url &amp;&amp; isset($url&#091;&#039;scheme&#039;]) &amp;&amp; !in_array($url&#091;&#039;scheme&#039;], $allowed_schemes) &amp;&amp; !file_exists($filename)) {<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"260\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validateurlschema-magento-install.png\" alt=\"Gd2 file edit Magento.\" class=\"wp-image-2491\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validateurlschema-magento-install.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validateurlschema-magento-install-300x98.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validateurlschema-magento-install-768x250.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Save and exit the file.<\/p>\n\n\n\n<p>4. Initiate the Magento installation command from the Magento root folder. It takes several minutes for the system to complete the installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Access Magento Storefront<\/h3>\n\n\n\n<p>Ensure that Apache, MySQL, and Elasticsearch are all active and running.<\/p>\n\n\n\n<p>1. Use a browser and access the Magento storefront. Enter the store's base URL defined in the Magento installation command. In this example, the store URL is mystore.magento.com. <\/p>\n\n\n\n<p>2. Once the page loads, it displays the default Luma theme.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"377\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-installation-frontend.png\" alt=\"Luma theme in fresh Magento installation in Windows.\" class=\"wp-image-2489\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-installation-frontend.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-installation-frontend-300x141.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-installation-frontend-768x362.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\">No Static Content in Storefront<\/h4>\n\n\n\n<p>If Magento does not load static content, you need to edit the <em>Validator.php<\/em> file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"331\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/missing-static-content-magento.png\" alt=\"Magetno storefront without static content.\" class=\"wp-image-2474\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/missing-static-content-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/missing-static-content-magento-300x124.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/missing-static-content-magento-768x318.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>1. Access the <em>C:\\xampp\\htdocs\\magento2\\vendor\\magento\\framework\\View\\Element\\Template\\File<\/em> folder.<\/p>\n\n\n\n<p>2. Open the <em>Validator.php<\/em> fileusing Notepad++.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"194\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validator-file-magento-static-content.png\" alt=\"Validator.php file location in Magento 2 in Windows.\" class=\"wp-image-2492\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validator-file-magento-static-content.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validator-file-magento-static-content-300x73.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/validator-file-magento-static-content-768x186.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Locate the following line of code in the <strong><em>inPathInDirectories<\/em><\/strong> function (line 141):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$realPath = $this-&gt;fileDriver-&gt;getRealPath($path);<\/code><\/pre>\n\n\n\n<p>4. Replace the existing line with:<\/p>\n\n\n\n<p><strong><em>$realPath =&nbsp;str_replace('\\\\',&nbsp;'\/', $this-&gt;fileDriver-&gt;getRealPath($path));<\/em><\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"428\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-validator-file-magento.png\" alt=\"Edit the Validator.php file in Magento 2 in Windows.\" class=\"wp-image-2482\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-validator-file-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-validator-file-magento-300x161.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/edit-validator-file-magento-768x411.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>5. Save and exit the <em>Validator.php<\/em> file.<\/p>\n\n\n\n<p>6. Access the <em>C:\\\\xampp\\htdocs\\magento2.4\\app\\etc\\ <\/em>folder. <\/p>\n\n\n\n<p>7. Open the <em>di.xml<\/em> file using a text editor.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"340\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-file-magento-symlink.png\" alt=\"Location of the di.xml file in Magento 2 in Windows.\" class=\"wp-image-2479\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-file-magento-symlink.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-file-magento-symlink-300x128.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-file-magento-symlink-768x326.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>8. Locate line 756 in the <em>di.xml<\/em> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Magento\\Framework\\App\\View\\Asset\\MaterializationStrategy\\Symlink<\/code><\/pre>\n\n\n\n<p>Replace the line with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Magento\\Framework\\App\\View\\Asset\\MaterializationStrategy\\Copy<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"801\" height=\"270\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-symlink-magento-edit.png\" alt=\"Di.xml symlink edited in Magento 2.\" class=\"wp-image-2480\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-symlink-magento-edit.png 801w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-symlink-magento-edit-300x101.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/di-xml-symlink-magento-edit-768x259.png 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure><\/div>\n\n\n<p>9. Save and exit the file.<\/p>\n\n\n\n<p>10. Access the Windows command line. <\/p>\n\n\n\n<p>11. Execute the following commands from the Magento root directory to upgrade the database and deploy static view files:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento indexer:reindex\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:static-content:deploy -f\nphp bin\/magento cache:flush\nphp bin\/magento catalog:images:resize<\/code><\/pre>\n\n\n\n<p>It takes several minutes for each command to complete the action. Reload the Magento storefront to confirm that the static content is now visible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Access Magento Admin<\/h3>\n\n\n\n<p>Access the Magento admin panel by adding the admin URI to the store\u2019s frontend URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#047;&#047;mystore.magento.com\/admin_17w40n<\/code><\/pre>\n\n\n\n<p>Enter the Admin username and password you created during the installation process and <strong>Sign In<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"448\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-admin-login.png\" alt=\"Sign in to Magento Admin.\" class=\"wp-image-2488\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-admin-login.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-admin-login-300x168.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magento-admin-login-768x430.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Magento 2.4 uses <a href=\"https:\/\/ccbill.com\/kb\/what-is-two-factor-authentication\" target=\"_blank\" rel=\"noreferrer noopener\">two-factor authentication<\/a> to provide a secure environment for administrators. You cannot log into the Magento admin panel unless you have a Mail Transfer Agent (MTA) or an SMTP server.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"540\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/two-factor-authentication-magenti-disable.png\" alt=\"Magento disable 2FA.\" class=\"wp-image-2477\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/two-factor-authentication-magenti-disable.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/two-factor-authentication-magenti-disable-300x203.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/two-factor-authentication-magenti-disable-768x518.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>An alternative solution is to disable the two-factor authentication module. <\/p>\n\n\n\n<p>Enter the following command from your Magento root folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento module:disable Magento_TwoFactorAuth<\/code><\/pre>\n\n\n\n<p>Reload the page to access the Magento admin panel.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"526\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magneto-access-admin.png\" alt=\"Magento Admin dasboard example.\" class=\"wp-image-2473\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magneto-access-admin.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magneto-access-admin-300x197.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/magneto-access-admin-768x505.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Use the Admin to get to know and extensively test Magento's capabilities and features.<\/p>\n\n\n<p class=\"h3\">Conclusion<\/p>\n\n\n<p>You have successfully installed the latest Magento version (2.4.3) on your local Windows system. Each step along the way helped you learn more about how Magento works and about its components and background systems.<\/p>\n\n\n\n<p>Magento is a versatile and flexible framework that enables you to build up your ecommerce store regardless of its size or business model. To experience Magento in a production environment, find out <a href=\"https:\/\/ccbill.com\/kb\/how-to-install-magento-in-linux\" target=\"_blank\" rel=\"noreferrer noopener\">how to install Magento in Linux<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This comprehensive tutorial shows every stage of a Magento 2 Windows installation. It also includes solutions to common installation errors.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,14],"tags":[],"class_list":["post-2430","post","type-post","status-publish","format-standard","hentry","category-e-commerce","category-web-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Install Magento 2 on Windows | CCBill KB<\/title>\n<meta name=\"description\" content=\"Learn how to set up a local web server and install Magento 2 on Windows. Lots of detailed images guide you every step of the way.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ccbill.com\/kb\/install-magento-windows\" \/>\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 on Windows | CCBill KB\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up a local web server and install Magento 2 on Windows. Lots of detailed images guide you every step of the way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ccbill.com\/kb\/install-magento-windows\" \/>\n<meta property=\"og:site_name\" content=\"CCBill Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ccbillBIZ\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-30T15:09:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-07T12:08:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png\" \/>\n<meta name=\"author\" content=\"Vladimir Kaplarevic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:site\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vladimir Kaplarevic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#article\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows\"},\"author\":{\"name\":\"Vladimir Kaplarevic\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\"},\"headline\":\"How To Install Magento 2 on Windows\",\"datePublished\":\"2021-09-30T15:09:31+00:00\",\"dateModified\":\"2023-03-07T12:08:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows\"},\"wordCount\":1894,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png\",\"articleSection\":[\"eCommerce Tutorials\",\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ccbill.com\/kb\/install-magento-windows#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows\",\"url\":\"https:\/\/ccbill.com\/kb\/install-magento-windows\",\"name\":\"How To Install Magento 2 on Windows | CCBill KB\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png\",\"datePublished\":\"2021-09-30T15:09:31+00:00\",\"dateModified\":\"2023-03-07T12:08:20+00:00\",\"description\":\"Learn how to set up a local web server and install Magento 2 on Windows. Lots of detailed images guide you every step of the way.\",\"breadcrumb\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ccbill.com\/kb\/install-magento-windows\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png\",\"width\":800,\"height\":400,\"caption\":\"Workers installing Magento on windows.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-windows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"KB Home\",\"item\":\"https:\/\/ccbill.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"eCommerce Tutorials\",\"item\":\"https:\/\/ccbill.com\/kb\/category\/e-commerce\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Install Magento 2 on Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ccbill.com\/kb\/#website\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"name\":\"CCBill Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ccbill.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\",\"name\":\"CCBill\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"width\":160,\"height\":70,\"caption\":\"CCBill\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ccbillBIZ\/\",\"https:\/\/x.com\/CCBillBIZ\",\"https:\/\/www.linkedin.com\/company\/ccbill\",\"https:\/\/www.youtube.com\/c\/CCBillBiz\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\",\"name\":\"Vladimir Kaplarevic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"caption\":\"Vladimir Kaplarevic\"},\"description\":\"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install Magento 2 on Windows | CCBill KB","description":"Learn how to set up a local web server and install Magento 2 on Windows. Lots of detailed images guide you every step of the way.","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:\/\/ccbill.com\/kb\/install-magento-windows","og_locale":"en_US","og_type":"article","og_title":"How To Install Magento 2 on Windows | CCBill KB","og_description":"Learn how to set up a local web server and install Magento 2 on Windows. Lots of detailed images guide you every step of the way.","og_url":"https:\/\/ccbill.com\/kb\/install-magento-windows","og_site_name":"CCBill Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/ccbillBIZ\/","article_published_time":"2021-09-30T15:09:31+00:00","article_modified_time":"2023-03-07T12:08:20+00:00","og_image":[{"url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png","type":"","width":"","height":""}],"author":"Vladimir Kaplarevic","twitter_card":"summary_large_image","twitter_creator":"@CCBillBIZ","twitter_site":"@CCBillBIZ","twitter_misc":{"Written by":"Vladimir Kaplarevic","Est. reading time":"19 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#article","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-windows"},"author":{"name":"Vladimir Kaplarevic","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644"},"headline":"How To Install Magento 2 on Windows","datePublished":"2021-09-30T15:09:31+00:00","dateModified":"2023-03-07T12:08:20+00:00","mainEntityOfPage":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-windows"},"wordCount":1894,"commentCount":0,"publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"image":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png","articleSection":["eCommerce Tutorials","Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ccbill.com\/kb\/install-magento-windows#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ccbill.com\/kb\/install-magento-windows","url":"https:\/\/ccbill.com\/kb\/install-magento-windows","name":"How To Install Magento 2 on Windows | CCBill KB","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage"},"image":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png","datePublished":"2021-09-30T15:09:31+00:00","dateModified":"2023-03-07T12:08:20+00:00","description":"Learn how to set up a local web server and install Magento 2 on Windows. Lots of detailed images guide you every step of the way.","breadcrumb":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ccbill.com\/kb\/install-magento-windows"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#primaryimage","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/09\/how-to-install-magento-windows.png","width":800,"height":400,"caption":"Workers installing Magento on windows."},{"@type":"BreadcrumbList","@id":"https:\/\/ccbill.com\/kb\/install-magento-windows#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"KB Home","item":"https:\/\/ccbill.com\/kb\/"},{"@type":"ListItem","position":2,"name":"eCommerce Tutorials","item":"https:\/\/ccbill.com\/kb\/category\/e-commerce"},{"@type":"ListItem","position":3,"name":"How To Install Magento 2 on Windows"}]},{"@type":"WebSite","@id":"https:\/\/ccbill.com\/kb\/#website","url":"https:\/\/ccbill.com\/kb\/","name":"CCBill Knowledge Base","description":"","publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ccbill.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ccbill.com\/kb\/#organization","name":"CCBill","url":"https:\/\/ccbill.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","width":160,"height":70,"caption":"CCBill"},"image":{"@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ccbillBIZ\/","https:\/\/x.com\/CCBillBIZ","https:\/\/www.linkedin.com\/company\/ccbill","https:\/\/www.youtube.com\/c\/CCBillBiz"]},{"@type":"Person","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644","name":"Vladimir Kaplarevic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","caption":"Vladimir Kaplarevic"},"description":"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies."}]}},"_links":{"self":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/comments?post=2430"}],"version-history":[{"count":24,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2430\/revisions"}],"predecessor-version":[{"id":4897,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2430\/revisions\/4897"}],"wp:attachment":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/media?parent=2430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/categories?post=2430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/tags?post=2430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}