Featured blog image
174 words 1 min read

How to Install and Set Up XAMPP on Windows

The XAMPP program is one of the easiest and most popular tools used to create a local server (Localhost) on your device, allowing you to run PHP applications and MySQL databases without needing a real server. Here are the installation and setup steps:


Download XAMPP

  1. Open the official website: https://www.apachefriends.org
  2. Download the version for Windows.

first.png

Install XAMPP

  1. Open the installer file after downloading.
  2. If a UAC warning appears, click Yes.
  3. Select the required components: Apache, MySQL, PHP, phpMyAdmin.
  4. Leave the installation path as it is: C:\xampp.
  5. Click Install and wait until the installation finishes.

Run the Local Server

  1. Open XAMPP Control Panel.
  2. Click Start for both Apache and MySQL.
  3. If they turn green, that means they are running successfully.

Screenshot 2025-10-25 181905.png

Test XAMPP

Open your browser and type:

http://localhost/

If the XAMPP welcome page appears, everything is working correctly.

Open phpMyAdmin to Manage Databases

http://localhost/phpmyadmin/

Run Your Project Files

Place your project files inside the folder:

C:\xampp\htdocs\

Then open your project through the browser:

http://localhost/your-project-name

Share Now ?
Let's chat