XAMPP Server is one of the most commonly used open source and cross platform web server. In this tutorial we will learn how to install XAMPP on Windows 10 32/64 bit operating system. In fact the installation and configuration procedure described in this article will be same for 32/64 bit Windows OS.
Moreover, XAMPP Server is used by the developers for development and testing of their application on localhost. However, this open source Web Server is developed by Apache Friends. Additionally, its source code can be modified and revised by the users.
Additionally, the XAMPP Server includes Apache Web Server, MariaDB Database Server and programming languages PHP and Perl. Moreover, as of now it supports 11 languages. It is available for Windows, MacOS and various Linux distributions.
In addition to above, XAMPP is an abbreviation where individual alphabets of XAMPP Server stand for:
X Cross Platform
A Apache Web Server
M MariaDB Database Server
P PHP programming Language
P Perl Programming Language
However, as described above, XAMPP Server is used for local development and testing of application by the developers. However, after the development and testing phase of the application is completed, the application is finally moved to the production server.
In additions to the above, following core components of XAMPP Server applications are also installed along with the installation of XAMPP Server.
Following are the pre-requisites for installation of the XAMPP Server on Windows 10 64/32 bit operating system.
| How to Install Windows 10 OS on Your PC |
After the completion of the above prerequisites, we are ready to download and install XAMPP Server on Windows 10 operating system.
https://www.apachefriends.org
Copy
The home page of the official website will present the options to download XAMPP Server for the following three operating system platforms:



However, it is better to install XAMPP Server to its default location C:\XAMPP instead of installing it in c:\Program Files folder. Click on the ok button to continue the XAMPP Server installation wizard.









From the XAMPP Control Panel you can start apache web server, MySQL Database Server and all the other components as required.
Configuring Apache Web Server
However, if IIS Web Server is preinstalled on your System, there will be conflict on port 80 with Apache Web Server. To avoid this click the apache config button and edit the httpd.conf file. Change the Apache web Server port to 81 or any other port you like. Do remember to allow this port in your windows firewall. Below given is the screenshot of Apache httpd.conf file.

Open your browser and type http://localhost:81. and you will get the Apache welcome page as shown below.

Now you can start MySQL Database Server, Filezilla File Transfer Protocol, Mercury Email Server and Tomcat Java Servlet from the XAMPP Control Panel. Install Java JRE or JDK on your system to start Tomcat Server.
Now we will create a web page in PHP and open this page in the browser to verify the XAMPP installation. For this navigate to C:\XAMPP\htdocs folder on your machine. Now create a folder test inside C:\XAMPP\htdocs folder. Move to this test folder. Create a text file named €œtest€ here using your favourite text editor. We are using notepad as the text editor. Give the extension to this text file as .php. Write the following code in the file and save and exit the editor.
<!doctype html> <html> <head> <title> Welcome to XAMPP Test Page </title> </head> <body> <p> Our XAMPP Server is now running successfully</p> </body> </html>
Copy
Now open the XAMPP control panel and start the apache web server. Next open your favorite web browser and type the URL http://localhost:81/test/test.php in the address bar of the browser. Remember earlier we have changed the Apache Web Server port to 81. Therefore we will write localhost:81 in the URL everywhere. The web page will display the message Our XAMPP Server is now running successfully. This message indicates that our XAMPP Server as installed and configured correctly. Below given is screenshot of the output page of the web browser.
However, above screenshot indicates the successful installation of XAMPP server. We have also written our first test PHP code.
Additionally, you will see XAMPP Server icon on the taskbar of the windows OS. If you want to stop all the running services from the control panel and quit the XAMPP Server. First stop all the services then right click on the XAMPP icon on the taskbar. Select quit option from the context menu to quit the application. In some instances this will throw an error. Below given are the popup error messages.


Moreover, the solution for the above problem is simple. Navigate to the XAMPP Server folder. Then select xampp-control.exe file and right click on it. Further, from the context menu select send to and create desktop shortcut. Next, select desktop shortcut and right click on it. Furthermore, select properties from the context menu and click on the advanced button. Now select run as administrator checkbox apply and save. Below given are the screenshots of the steps.


Furthermore, select and right click on the file xampp-control.ini and select properties. Go to security tab and enable full access for everyone on the file as shown in the figure.

Finally, have fun; enjoy using XAMPP Server on your windows system.