How To Install And Configure XAMPP On Windows 10

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.
 
Click on "XAMPP for Windows
 
Step 3
 
Double-click the downloaded file to launch the XAMPP installer.
 
launch the installer
 
Step 4
 
"Setup" window will appear on the screen. Then, click on the "Next" button.
 
setup will appear
 
Step 5
 
Select the components that you want to install and click on the "Next" button.
 
select the components
 
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.
 
choose a folder
 
Step 7
 
Uncheck the "Learn more about Bitnami for XAMPP" option and click on the "Next" button.
 
uncheck
 
Step 8
 
"Ready to Install" window will appear on the screen, then click on the "Next" button.
 
ready to install
 
Step 9
 
Click on the "Finish" button.
 
click on the finish button
 
Step 10
 
Select a language. (either English or German) and click on the "Save" button.
 
choose a language
 

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.
 
configure
 
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.
 
working properly
 

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.
 
open XAMPP
 
Step 2
 
In Apache Module Service, click on the "Config" button.
 
click on configure
 
Step 3
 
Click on "Apache (httpd.conf)" option.
 
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.
 
change the port
 
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.
 
result will appear
 
 
Method 2. By disabling the Internet Information Services (IIS) 
Step 1
 
From the Start Menu, search for Control Panel.
 
Step 2
 
Click on "Programs".
 
clilck on the program
 
Step 3
 
Click on the "Turn Windows Feature on or off" option.
 
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.
 
uncheck the IIS option
 
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.
 
result will appear on the screen
 

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.


Similar Articles