To install XAMPP on Windows, you first need to download the latest version of the XAMPP installer from the official Apache Friends website, then run the installer and follow the setup wizard. During installation, you can choose which components to include, such as Apache, MySQL (MariaDB), PHP, and phpMyAdmin. Once the installation is complete, you can launch the XAMPP Control Panel to start Apache and MySQL services, allowing you to run and test PHP-based applications locally on your Windows machine.
Download the XAMPP
Navigate to the following link from your Windows Server and download the required version of XAMPP for Windows https://www.apachefriends.org/index.html

Before beginning the installation of XAMPP, you would need to lower the “UAC” settings (User Account Control). Write “UAC” in the search field on your taskbar. Click on “Change User Account Control settings” in the search results.

Drag the slider down to Never Notify and press OK.
Note: After the installation is complete, update the UAC settings back to default.
Installing and Starting XAMPP server

By default, all quality is included in your XAMPP installation. Next, click on next button.

Select Destination Folder and click on next.

Select your preferred language.

Next, click on the next button.

Next, click on the next button.

Once the installation is completed, click on the finish button.

To start Apache and MySql, press on the start button on the control panel.

Firewall Configuration
Go into the Windows Firewall settings, and click the “Advanced” button.

In the next topic click “Inbound Rules” – press “New Rule”.

In the rule type window, choose Port

In protocols and ports, leave protocol as TCP, and Local Ports should be “Specific Ports”, submit 80,443.

In the action window, Allow the Connection.

In the account window, leave them all ticked.

And at last, in the name, call it something useful, like HTTP_ports.

The firewall configuration is now complete and the website hosted on the Windows server will be publicly accessible. Open the XAMPP dashboard From your browser,
http://IP_address:80




