cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4

Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4

Hi,

I am trying to configure Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4 PHP 7.4.15 I download Magento from official site with data and extract it in HTDOCS folder. When i try to access http://localhost:8080/magento its show 4.4 error and when I try to access http://localhost:8080/magento/setup/#/landing its show 

Version 2.4.2

 

 

 "Welcome to Magento Admin, your online store headquarters.
Please review  to learn how to install Magento using the command line."

 

Please guide me how to configure Magento 2.4.2 on my local windows at port 8080. I try to run WordPress by copying it in HTDOCS its working fine but facing issue with Magento 2.4.2.

 

Regards,

Saad

4 REPLIES 4

Re: Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4

From 2.4 version, you need to install via Command line using composer, refer this guide for more detail: https://devdocs.magento.com/guides/v2.4/install-gde/composer.html

 

Re: Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4

@Faizanahmea223The official documentation recommends Magento installation on a Linux distribution (Ubuntu/Debian/CentOS/RHEL). Alternatively, you can use WSL2/Docker on Windows.

Re: Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4

We can install Magento2 on windows:

There are following steps which needs to perform:

  • Step 1: Install Xampp and Composer Softwares
  • Step 2: Install elasticsearch on Windows OS
  • Step 3: Configure php.ini
  • Step 4: Create database for Magento 2
  • Step 5: Install Magento 2.4.2
  • Step 6: Install sample data for Magento 2.4.2

For more details- visit and watch videos.

Re: Magento 2.4.2 on my local windows 10 machine with XAMPP 3.2.4

To configure Magento locally on Windows, ensure your XAMPP stack meets Magento requirements. Then install Magento via the command line providing your desired base URL, database credentials, and admin account details. Enable mod_rewrite and access admin and front-end at designated ports.