XAMPP Tutorial: How to install and setup xampp server on laptop/pc in windows


In this tutorial you will learn how to install and setup xampp server step by step with screenshot.

XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and deployment purposes.

XAMPP works equally well on Linux, Mac and Windows.

XAMPP is a open source web server with all the tools and language support built-in to it. It’s ready to use and makes it easier for developers to take their code and host it locally and test the same.

XAMPP makes transitioning from a local test server to a live server is extremely easy as well. Web development using XAMPP is especially beginner friendly.

XAMPP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl.

Once XAMPP is installed, it is possible to treat a localhost like a remote host by connecting using an FTP client.

Installing XAMPP

Follow these steps for installing XAMPP:

Step 1 :- Download XAMPP from  https://www.apachefriends.org/index.html . This is official website of XAMPP server.

install xampp


Step 2 :- When download will complete then click the downloaded file to run the installer.

Step 3 :- When warning occurs during running same as below image then click OK on the warning to continue. this warning is related to User Account Control (UAC).

To prevent this disable your anti-virus as it can cause some XAMPP components to behave erratically. if warning again occurs then disable User Account Control (UAC). UAC limits write permissions to XAMPP’s default installation directory (c:/Program Files/xampp), forcing you to install in a separate directory.


Step 4 :- Click Next after the splash screen. or you can directly click on Next button after clicking OK button in above screenshot warning.


Step 5 :- XAMPP offers a variety of components that you can install, such as MySQL, phpMyAdmin, PHP, Apache, and more. For the most part, you will be using most of these components, as such it’s recommended to leave the default options and click Next.


Step 6 :- Uncheck the Learn more about Bitnami for XAMPP and click Next.


Step 7 :- Leave the default install location settings or choose another folder to install the software, and click Next to begin the installation.


Step 8 :- During the installation Windows will prompt you to allow certain services to communicate through the firewall. Click Allow access through the firewall for private.


Step 9 :- Click Finish to complete the installation and to start using XAMPP Control Panel.


Step 10 :- Choose your language (English or German), and click Save to complete and open XAMPP Control Panel.


Step 11 :- In the XAMPP control panel, click on ‘Start’ under ‘Actions’ for the Apache module. This instructs XAMPP to start the Apache webserver and click on ‘Start’ under ‘Actions’ for the MySQL, this instructs XAMPP to start the MySQL database.

Step 12 :- Open your web browser and type in: http://localhost or

You should see the following screen. This means you’ve successfully installed XAMPP on your computer.


Congratulations! You have now successfully installed XAMPP. You can now use your local Apache webserver to create and test language based web apps, fiddle around with MySQL and even learn how actual web servers work with Tomcat, FileZilla, OpenSSL, and more.


2 replies

Trackbacks & Pingbacks

  1. […] First, you need to learn XamppTutorial: How to install and setup xampp server on laptop/pc in windows. […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.