How to install XAMPP on Windows computer?

Categories: ,

The easiest way to run PHP or PHP-based CMS such as WordPress, Joomla, Drupal and many other CMS on Windows is to install the XAMPPpackage. The XAMPP package comes with Apache Web Server, MySQL database and PHP.  In this post, we will see how to install XAMPP on Windows computer?

What is XAMPP?

XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends. XAMPP consists of the Apache HTTP Server, MariaDB database (supports MySQL) , and interpreters for scripts written in the PHP and Perl programming languages.
    X = Cross Platform / Any Operating System
    A = Apache Web Server
    M = MySQL / Maria DB
    P = PHP Programming Language
    P = Perl Programming Language
XAMPP is easy to install and packages all the above requirements of web development out of the box. There is minimal configuration required to kick start web development on local machine instead of installing all the above requirements manually.

How to install XAMPP on Windows Computer?

Watch this short video on How to install XAMPP on Windows computer? And also continue reading below the video for step by step guide to install XAMPP on Windows.

Follow the steps below to install XAMPP on Windows Computer:

  1. Download XAMPP for Windows from here: Download XAMPP for Windows
  2. Click on the XAMPP setup file and follow instructions to install XAMPP.
    The default XAMPP install location is “c:/xampp”.
  3. The installation process is pretty straight forward. Just follow the instructions on screen.
  4. After XAMPP is installed on Windows, XAMPP Control Panel shortcut should be on the desktop.
    If not, navigate to “Start > All Programs > XAMPP > XAMPP Control Panel”.
  5. Open XAMPP control panel.
  6. Start APACHE and MySQL: click on Apache and MySQL start buttons.

    xampp control panel on windows

  7. Open up a browser and type in “localhost”.

    Apache page should show saying “Congratulations: You have successfully installed XAMPP on this system!”

If everything is alright till the steps mentioned above, you should be able to see the Apache localhost page.
  • Now, click on the “Security” link on the left hand side menu on the Apache page.
  • If you would like to change the default MySql root password, do it here.
    The default MySQL SuperUser is “root”. You may change the default password which is “root”.

  • From the Apache page, click on the phpMyAdmin link at the bottom left hand side of the page.
  • Login with the MySql username and password.

That’s it.
Your XAMPP is up and running. Now you can install PHP-based CMS such as WordPress, Drupal, Joomla etc.


IIS Server + XAMPP on the same Windows computer?

If you have Internet Information Services (IIS)  already installed and running on the same Windows computer, you will face some issue in starting XAMPP. For using IIS and XAMPP on the same Windows Computer, see this post to see where you need to make necessary changes –
How to install and run XAMPP together with IIS and MySQL Server already installed on same computer.

Other issues and solution related to XAMPP:

XAMPP: MySQL Service detected with wrong path – running multiple MySQL on same computer

How to enable PHP OPCache in localhost running XAMPP on Windows?




Five Cheapest All-in-one Colour Inktank Printer with Wi-Fi for Home Use

Best Cheap WiFi Home Security Cameras for indoors


Leave a Reply

Discover more from Techubber

Subscribe now to keep reading and get access to the full archive.

Continue reading