Here’s a guide on how to install XAMPP on Windows 10/11, how to configure the control panel, and how to fix Apache if it can’t be opened in XAMPP.
XAMPP is software free open source that provides an easy way for web designers and developers to install components to run PHP based software like WordPress, Drupal, Joomla and more on
Windows 10, Linuxand macOS.
If you are a web developer or trying to get into blogging, XAMPP will save you time while you manually install and configure Apache, MySQL, PHP, and Perl to create a test environment on your device.
Also read: 6 Best Free Driver Updater Software for Windows 10 & 11 PC
In tutorials In this tutorial, you will know the steps how to install XAMPP on Windows 10/11, as well as instructions for configuring the web environment and fixing common problems after setup.
- How to Install XAMPP on Windows 10/11
- How to configure XAMPP on Windows 10/11
- How to solve Apache not opening in XAMPP
How to Install XAMPP on Windows 10/11
1. Go to the Apache Friends website
from here.
2. Click the Download button for the Windows version of XAMPP and save the file on your computer.
Notes: If specific version requirements appear for PHP, download the version that you need to install. If the version requirements don’t appear, download the oldest version, as this can help you avoid problems while trying to install PHP based software.
3. Double-click the XAMPP installer file.
4. Click the OK button.
5. Click the Next button.
6. XAMPP offers various components that you can install, such as MySQL, phpMyAdmin, PHP, Apache, and others. Select the components you need, then click the Next button.
7. Use the installed default location. (Or select another folder to install the software in in the “Select folder” field.) Click the Next button.
Also read: How to Change Folder Color in Windows 11/10
8. Select the language for the XAMPP control panel. Then click the Next button.
9. Uncheck Learn more about Bitnami for XAMPP. Then click the Next button. Click the Next button again.
10. Click the Allow access button to allow the application through the Windows Firewall (if applicable).
11. Click the Finish button.
Once the installation is complete, the XAMPP Control Panel will launch, and you can start configuring the web server environment.
How to Configure XAMPP on Windows 10
The XAMPP Control Panel includes three main sections. In the Modules section, you will find all the available web services. You can start each service by clicking on the Start button.
When you start several services, including Apache and MySQL, on the right hand side, you will also see the process ID number (PID) and TCP/IP port number (Port) that each service uses.
For example, by default Apache uses TCP/IP ports 80 and 443 , while MySQL uses TCP/IP ports 3306.
Also read: How to Enable Drag & Drop on the Windows 11 Taskbar
You can also click the Admin button to access the administration dashboard for each service and verify that everything is working properly.
On the right side, there is a list of buttons for configuring various aspects of the Control Panel, including a Config button for configuring which modules will run automatically when you launch XAMPP.
Clicking on the Netstart button will give you a list of services currently accessing the network, including TCP/IP addresses and port information and process IDs.
In addition, there are also quick access buttons from the Control Panel for shell command-line utilities, XAMPP installation folder, services, and close apps.
Lastly, you get a log section to see what happens every time you start the module or change the settings. Also, this is the first place to look when something isn’t working.
The default settings should work for most people who use XAMPP to create a test environment to run websites on.
However, depending on the configuration of your setup, you may need to change the Apache server TCP/IP port number, upload database size, or set a password for phpMyAdmin.
You have to use the Config button for the related service to change this setting. For example, you have to open httpd.conf file to change settings on Apache server and my.ini file to change MySQL settings.
How to Fix Apache Can’t Open in XAMPP
Installing XAMPP is very easy, but Windows 10 sometimes won’t allow the Apache server to run.
Usually, it is because the World Wide Publishing Service is running on port 80 on your computer, which is also the default TCP/IP port that Apache uses in XAMPP.
And you know, that two applications cannot use the same port on the same network.
Also read: How to Use Windows 10 MSRT to Remove Malicious Apps
If you are having this problem, there are several ways to solve it. You can uninstall the publishing service or change the default port in Apache.
Uninstall World Wide Web Service
If you don’t have any applications that depend on the features of World Wide Web Services, you can uninstall them with the following steps:
1. Click on the Start button.
2. Locate Control Panel , and click the top result to open it.
3. Click Programs.
4. Click the Programs and Features option.
5. Click the Turn Windows features on or off option from the left pane.
6. Then search for Internet Information Services
7. Then remove the World Wide Web Services option.
8. Click the OK button.
9. Restart your PC.
Once you complete the steps, Apache should be able to run on port 80 on your device.
Change Apache TCP/IP default port
Instead of removing World Wide Web Services, you can configure Apache to run on a different TCP/IP port. To change Apache listening port in XAMPP, use these steps:
1. Open the XAMPP Control panel.
2. In Apache, click the Config button.
3. Select the Apache option (httpd.conf).
4. Scroll down and find the line: Listen 80.
5. Change the number 80 to another unused TCP/IP port number. For example, you can try port 81.
6. Save and close the httpd.conf file.
7. Click the Start button on Apache from the XAMPP Control Panel.
Once you complete the steps, the Apache server will run without any problems on the new specified TCP/IP port.
That’s how to install XAMPP on Windows 10. I hope this article helped you! Thank you for visiting and don’t forget if you find this article useful, please share it with your friends too.