How to install XAMPP on Windows 10

How to install XAMPP on Windows 10

It’s always a good habit to test your projects locally before you decide to make them live. This article describes clearly how to install XAMPP on windows 10.

What’s XAMPP? XAMPP is a software distribution that provides the Apache(webserver), MySQL database (MariaDB), Php and Perl (as command-line executables and Apache modules) all in one package. It is available for Windows, MAC and Linux systems.

WAMP is another popular Development Environment for local project testing.

A Development Environment is very different from the Production Environment. Get a Development Environment such as XAMPP or WAMP and start testing your projects locally before you make them live for the users. Don’t fall for debate on which Development Environment is better. There are various alternatives, just choose your preference and move on.

Make sure that you have Microsoft Visual C++ Redistributable installed on your system to avoid future installation problems.

So, let’s get our local Development Environment ready on our machines.

Step 1 – Download the XAMPP installer

Follow this link www.apachefriends.org to the Apache Friends website to download the installer. Download XAMPP for Windows which is to be used in this post. The file download size is around 124 MB.

XAMPP Installation on Windows 10 - Apache Friends Website
XAMPP Installation on Windows 10 – Apache Friends Website

Step 2 – Run the XAMPP installer

Once you run the installer, you will see Windows User access control asking for permission to go ahead with the installation. Click Yes and to start the installation process.

 XAMPP Installation on Windows 10 – User Access Control
XAMPP Installation on Windows 10 – User Access Control

Step 3 – Anti-Virus Warning

I have 360 Total Security antivirus running on my system. I decided to ignore this warning and continue with the installation.

Note: If you don’t see the Anti-Virus Warning, no need to worry about it, just proceed with the installation.

XAMPP installation on Windows 10 – Anti Virus warning
XAMPP installation on Windows 10 – Anti Virus warning

Step 4 – User Access Control Warning

A warning related to User access control may popup. To get around this, we will have to install XAMPP in the root C directory instead of the Program Files(x86) directory. Click ok and continue.

XAMPP installation on Windows 10 – UAC Warning
XAMPP installation on Windows 10 – UAC Warning

Step 5 – Welcome to XAMPP Setup Wizard

Now you will see the actual setup wizard. Click next to continue.

XAMPP installation on Windows 10 – Setup Wizard
XAMPP installation on Windows 10 – Setup Wizard

Step 6 – Select Component

The next dialog box will prompt you to select the components to install but since it’s your first time (or maybe not), leave everything as it is and click on next.

XAMPP installation on Windows 10– Select Component
XAMPP installation on Windows 10– Select Component

Step 7 – Select Installation Folder

To select the installation folder, leave it as it is but if you plan on changing this folder, please do not select Program Files directory, at least choose another location on another partition on your computer.

Selecting Program Files directory will result to other problems later on because these folders have certain restrictions imposed by Windows. To be on a safe side, leave it as it is and click next.

 XAMPP installation on Windows 10 – Select Installation Folder
XAMPP installation on Windows 10 – Select Installation Folder

Step 8 – Bitnami for XAMPP

Bitnami provides free setup for WordPress, Drupal or Joomla, you will need this if you have plans of installing WordPress, Drupal or Joomla. Click next.

If you leave the Learn more about Bitnami for XAMPP, it will open a Bitnami page in your browser after you click next. There is no harm in glancing over the page. It’s not necessary though.

XAMPP installation on Windows 10 – Bitnami for XAMPP
XAMPP installation on Windows 10 – Bitnami for XAMPP

Step 9 – Ready to install

Now the setup is ready to install XAMPP. Click next to start the installation process.

 XAMPP installation on Windows 10 – Ready to install
XAMPP installation on Windows 10 – Ready to install

Step 10 – Unpacking Files

Now that the installation has begun, seat back and wait for the installation process to complete.

 XAMPP installation on Windows 10 – Installation in Progress
XAMPP installation on Windows 10 – Installation in Progress

Step 11 – Installation Complete

Click on Finish to complete the installation process. If you leave the “Do you want to start the Control Panel now?” Checked, XAMPP will start after you have clicked finish. You uncheck the box, you will have to start XAMPP manually. Leave it checked for now and see if XAMPP starts successfully.

 XAMPP installation on Windows 10 – Setup Wizard – Installation Complete
XAMPP installation on Windows 10 – Setup Wizard – Installation Complete

If you unchecked the “Do you want to start the Control Panel now?” Option, Click the windows button type “XAMPP” in the search field.

The XAMPP Control Panel will popup. Click enter to start XAMPP.

 XAMPP installation on Windows 10 – starting control panel manually
XAMPP installation on Windows 10 – starting control panel manually

When XAMPP starts for the first time, it asks for application language. I selected English. You can choose yours and click on save. You have just two options anyways.

XAMPP Installation – Select Language
XAMPP Installation – Select Language

XAMPP will now start.

If the XAMPP Control Panel doesn’t pop up immediately, check the taskbar, you will see XAMPP icon. Double click to see the control panel.

XAMPP Icon in Windows taskbar
XAMPP Icon in Windows taskbar

Step 12 – Start Services

Click the start buttons on each of the services that are required for required your development Environment.

 XAMPP Control Panel – Apache and MySQL services started
XAMPP Control Panel – Apache and MySQL services started

Step 13 – Open localhost in browser

After all the required services have started successfully, open localhost (http://localhost) in the browser. It should redirect to http://localhost/dashboard/ and you will see the default XAMPP homepage below.

XAMPP - localhost in Browser
XAMPP – localhost in Browser

Click all the menu items (Applications, FAQs, HOW-TO Guides, PHPInfo, phpMyAdmin) to see what the newly installed XAMPP has to offer.

 XAMPP - phpMyAdmin web page
XAMPP – phpMyAdmin web page

The screenshot above shows the phpmyadmin window where you can create databases for the PHP applications you will develop.

That’s all. Your XAMPP is now ready. So, enjoy XAMPPing!!

Conclusion

As you can see it is a tough job to install XAMPP on your Windows computer. If you follow the above-mentioned steps carefully, for sure you won’t face any trouble in installing XAMPP. When you are done with your project testing you can easily host it on a live server.

Don’t hesitate to leave comments below, I would for sure love to hear from you.