📖 XAMPP Installation Guide

Click the button below to hear the full guide read aloud.

● Ready

What is XAMPP?

XAMPP is a completely free, open‑source Apache distribution that makes it easy to set up a local web server on your Windows computer. It includes Apache, MySQL, PHP, and phpMyAdmin – everything you need to develop and test websites or web applications offline. This guide walks you through the entire process step by step.

1. What You Need Before You Start

2. Download the XAMPP Installer

  1. Open your browser and go to https://www.apachefriends.org
  2. Click the Windows icon (or "Download" button).
  3. Pick the latest stable version (e.g., 8.2.12). Choose 32‑bit (older PCs) or 64‑bit (modern).
  4. Click Download – the .exe file (≈150‑200 MB) will start downloading.
💡 Always download from the official site to avoid malware or bundled adware.

3. Run the Installer

  1. Double‑click the xampp‑windows‑x64‑*.exe file.
  2. If Windows asks, click Yes.
  3. Click Next in the installer wizard.
  4. Select Components – keep all for a full server, or uncheck extras if you only need Apache + MySQL. Click Next.
  5. Installation Folder – default is C:\xampp. Keep it. Click Next.
  6. Bitnami – uncheck if not needed. Click Next.
  7. Click Next again to start copying files – this may take a few minutes.

4. Complete the Installation

  1. When done, check "Do you want to start the Control Panel now?" and click Finish.
  2. The XAMPP Control Panel will open automatically.

5. Start Apache and MySQL

  1. Click Start for Apache – status turns green ("Running").
  2. Click Start for MySQL.
  3. Test: open your browser and go to http://localhost or http://127.0.0.1. You should see the XAMPP welcome page.

6. Access phpMyAdmin (Database Manager)

  1. From the welcome page, click phpMyAdmin or go to http://localhost/phpmyadmin.
  2. You're logged in automatically (username: root, no password). Create databases, manage tables, and run SQL queries.

7. Stop the Services (When Not In Use)

8. Troubleshooting Common Issues

ProblemSolution
Port 80/443 in useStop other services (IIS, Skype, TeamViewer) or change Apache's port in httpd.conf.
MySQL won't startCheck if another MySQL service is running in Windows Services and stop it.
phpMyAdmin "Access denied"Edit config.inc.php and set auth_type = 'cookie'.
Control Panel won't openRight‑click → "Run as administrator".
Missing MSVC runtimeDownload and install Visual C++ Redistributable from Microsoft.

9. Where to Go Next

10. Uninstalling XAMPP (If Needed)

  1. Stop all services in the Control Panel.
  2. Run uninstaller from Start menu or C:\xampp\uninstall.exe.
  3. Delete C:\xampp folder manually (backup your website files first).

✅ Conclusion

You now have a fully functional local server environment on your Windows machine – completely free of charge. XAMPP is perfect for learning PHP, testing WordPress, developing web apps, or experimenting with databases without needing an internet connection.

🚀 Happy developing!

Need more help? Visit Apache Friends Docs.