XAMPP

Local PHP/MySQL development environment — run websites on your own computer.

Free Windows / Mac / Linux Latest

Overview

XAMPP is a free and open-source cross-platform web server solution package developed by Apache Friends. It contains Apache HTTP Server, MariaDB, and interpreters for PHP and Perl. It is the fastest way to get a local web server running for PHP and MySQL development.

Key Features

  • Apache HTTP Server, MariaDB (MySQL-compatible), PHP, and Perl bundled together
  • phpMyAdmin web interface for database management
  • Cross-platform installer for Windows, macOS, and Linux
  • Start/stop individual services from a simple control panel
  • Ideal for offline PHP and WordPress development

Documentation

Official documentation and FAQs are at apachefriends.org. The XAMPP Control Panel provides direct access to Apache and MySQL server logs, which are essential for debugging. Community forums offer solutions to common configuration issues.

How to Install & Use

  1. Download the XAMPP installer for your operating system from apachefriends.org.
  2. Run the installer and follow the setup wizard (default settings work for most users).
  3. Launch the XAMPP Control Panel and start the Apache and MySQL services.
  4. Open your browser and go to http://localhost — you should see the XAMPP dashboard.
  5. Place your PHP project files in the htdocs folder inside the XAMPP installation directory.

Limitations & Notes

  • Not intended for production use — for local development only.
  • On Windows, port 80 may conflict with IIS or Skype — change the Apache port in httpd.conf if needed.
  • Windows Defender may flag XAMPP on first install — add an exception if prompted.
XAMPP Free · Windows / Mac / Linux
Get XAMPP