Skip to content

Install XAMPP

For developers working with WordPress, having a local development environment is essential. XAMPP provides everything you need to run WordPress locally: Apache, MySQL, and PHP โ€” all in one convenient package.


XAMPP is a free, open-source local server environment that bundles Apache (web server), MySQL (database), PHP, and Perl into a single, easy-to-install package.

We use XAMPP because it:

  • Provides a complete local WordPress development environment
  • Works consistently across macOS, Windows, and Linux
  • Includes phpMyAdmin for database management
  • Is easy to configure and manage
  • Allows you to run multiple local WordPress sites
  • Doesnโ€™t require complex server configuration

We recommend using version 8.0.28 or higher, preferably with PHP 8.0.28 or newer, to match most WordPress project requirements.

Open the downloaded .dmg file and follow the installation wizard

During installation, youโ€™ll be asked which components to install. For WordPress development, you need:

  • Apache (web server)
  • MySQL (database)
  • PHP
  • phpMyAdmin (database management)

You can skip Perl and other components unless specifically needed.

Knowledge Check

Test your understanding of this section

Loading questions...