XAMPP

A local development bundle for experimenting with Apache, MariaDB, PHP, and Perl on your own computer.

2 min read 3 lesson sections
  • #local development
  • #apache
  • #mariadb
  • #php
  • #perl
XAMPP: A local development bundle for experimenting with Apache, MariaDB, PHP, and Perl on your own computer.
Concept map

XAMPP is a bundle for building and testing web applications on a local computer. Its name refers to a cross-platform package containing Apache HTTP Server, MariaDB, PHP, and Perl. The included control panel can start and stop services without setting up each component separately.

Good for learning: XAMPP gives you a small local lab. It helps you understand how a web server, application code, and database work together before you deploy anything.

What is in the bundle?

  • Apache HTTP Server receives browser requests and can serve the project files.
  • MariaDB stores application data when the project needs a database.
  • PHP or Perl can run server-side application code.
  • The XAMPP control panel helps manage the local services.

The exact versions and available components depend on the XAMPP release and operating system. Check the bundled documentation before updating individual parts.

A safe practice workflow

Install XAMPP from its official source, start only the services you need, and place a small practice project in its configured document directory. Open it through the local address, inspect server and application logs, and make one change at a time. Use test data rather than real customer information.

XAMPP is designed for local development and learning, not as a ready-made production server. Its default convenience settings may not be suitable for an internet-facing system. For production, select and harden a supported deployment platform, restrict access, configure HTTPS, and plan updates and backups.

How it differs from hosting tools

XAMPP runs on your own computer and is a development stack. Web Hosting is a service that makes a site available to visitors. A hosting control panel such as cPanel manages account features, while servers such as Nginx and Microsoft IIS can fill web-server roles in other deployments.