Before getting started, let me explain to you what XAMMP Web server is? and why is it needed?
What is XAMPP Web Server?
XAMPP stands for Cross-Platform (X), Apache (A), MySQL (M), PHP (P) and Perl (P) is a localhost server which can be used by developers for test purposes. Generally, web developers use a localhost server like XAMPP to host a website/web application for testing before publishing it on a live server.
XAMPP is an open source cross-platform web server developed by Apache Friends used mostly for PHP development environment.
In this tutorial, I’m going to show you how to download and install XAMPP server on your Windows Operating system.
Install XAMMP on Windows
Step 1. First head over to the XAMPP official website and download XAMPP for windows. Go to http://apachefriends.org/ and click ‘XAMPP for Windows’ next to the Download section.
The download will start automatically for XAMPP web server. It is a relatively big file and it will take some time to download this executable(.exe) file.
Step 2: Once the downloaded is completed, double-click this .exe file to run XAMPP installer. You’ll get a warning dialog box regarding an activated User Account Control – UAC. Don’t Worry about it, just click OK to continue the XAMPP installation.
Step 3: Now, Click Next > button.
Step 4: Now, select the component you want to install with this XAMPP package. If you want to run WordPress on localhost, check MySQL and phpMyAdmin. If your main purpose for Installing XAMPP is PHP/web development, you can uncheck unnecessary option such as Webalizer, Fake Sendmail, Mercury Mailserver, and Tomcat. And, then click Next to proceed.
Step 5: Choose the destination folder where you want to install XAMMP. By default, it is C:xampp. Don’t change it and click Next.
Step 6: Click Next to continue. You’ll see the installation progress bar. Wait for some time to complete the extraction and installation of all the XAMPP components on your computer.
Step 7: XAMPP is installed on your PC. It will ask whether you want to start the Control Panel. Tick the checkbox and then click Finish.
Read: How to install WordPress on XAMPP
Run XAMPP on Windows
Now, XAMPP control panel will get started if you have selected “Do you want to start the Control Panel?” in Step 7. If not, run XAMPP control panel by visiting C: > xampp and right-click xampp-control.exe and click ‘Run as Administrator’.
Select the Language.
If you see a cross(X) sign before Module Services of any Module you want to run. Click on the (X) sign and make it green.
Then, click Start button next to Apache to start the Apache and then start MySQL.
To check, XAMPP is running fine and installed without error, go to your web browser and visit http://localhost or localhost in the address bar. It should display the XAMPP dashboard page like shown in below screenshot.
That’s it. XAMPP server has been successfully installed on Windows and is ready to use.