Introduction
XAMPP is a free and open-source tool used by web developers in the Windows family and other platforms to set up the development and testing environment. XAMPP server comes with the XAMPP control panel to manage all its components easily.
XAMPP stands for (X) Cross-platform, (A) Apache, (M) MySQL, (P) PHP, (P) Perl and with some additional modules including phpmyadmin (for the database), FileZilla, Mercury, and Tomcat.
Once you have installed and configured the XAMPP server in your system, you can easily work with any CMS like WordPress, Joomla, drupal and more. XAMPP server works like a local server in your system that is generally used by PHP developers to test the websites (web-projects).
This tutorial will show you the various steps on how to install and configure the XAMPP server on Windows 10.
Installation Process of the XAMPP Server
Step 1
To download the XAMPP server, visit the "
Apache Friends" website in your web browser.
Step 2
Click on "XAMPP for Windows". Then, navigate the downloading location and the file will be automatically downloaded.
Step 3
Double-click the downloaded file to launch the XAMPP installer.
Step 4
"Setup" window will appear on the screen. Then, click on the "Next" button.
Step 5
Select the components that you want to install and click on the "Next" button.
Note
By default, all components are selected in your XAMPP installation.
Step 6
Choose a folder to install the XAMPP and click on the "Next" button.
Step 7
Uncheck the "Learn more about Bitnami for XAMPP" option and click on the "Next" button.
Step 8
"Ready to Install" window will appear on the screen, then click on the "Next" button.
Step 9
Click on the "Finish" button.
Step 10
Select a language. (either English or German) and click on the "Save" button.
Configuration Process of XAMPP Server
Step 1
Start the XAMPP control panel through the "Run as administrator" option.
Step 2
"XAMPP Control Panel" will appear on the screen and click on "Start" action to start the "Apache" and "MySQL" modules.
Note:-
The default XAMPP server settings should work for most users. When you start the related modules (services) then, the color of the related modules (service) becomes change into the green color and the PID(s) and the Port(s) number will also be shown to the user.
Fix an Issue of Apache not Starting in XAMPP
Some of the users may face an issue with Apache and MySQL module services not working in XAMPP. However, depending on the setup configuration or usage of your system, you may need to change the port number of the Apache and the MySQL. For example, because the "World Wide Web Services" under "Internet Information Services (IIS)" is also run on port 80 in your system, which is also the default port of apache in XAMPP. And, the two servers (applications) can not use (run) the same port simultaneously. Follow the instructions below to fix the problem with Apache and MySQL services.
Method 1. Change the default port of Apache
Step 1
Open the XAMPP Control Panel.
Step 2
In Apache Module Service, click on the "Config" button.
Step 3
Click on "Apache (httpd.conf)" option.
Step 4
By pressing the "Ctrl + F" key, find the "Listen 80" and replace it with another open port (like 81 or 9080) and save the file.
Step 5
Restart the XAMPP Server.
Step 6
Again, open the "XAMPP Control Panel" and click on the start option under the "Apache" module services.
Method 2. By disabling the Internet Information Services (IIS)
Step 1
From the Start Menu, search for Control Panel.
Step 2
Click on "Programs".
Step 3
Click on the "Turn Windows Feature on or off" option.
Step 4
Uncheck (clear) the "Internet Information Services" option and click on the "OK" button.
Step 5
Click on the "Restart Now" option (This will reboot/restart your computer/laptop).
Step 6
Again, open the "XAMPP Control Panel" and click on the start option in the "Apache" module services.
Conclusion
By following any of the above methods, you can install and configure the XAMPP server on Windows 10.
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.
Thanks for reading this article.