FileCobra Logo FileCobra
XAMPP — Local Apache, MariaDB & PHP Server for Windows Icon
Open Source v8.2.12 ✓ Checksum Published

Download XAMPP — Local Apache, MariaDB & PHP Server for Windows v8.2.12 for Windows PC

Apache Friends' free local web stack for Windows — Apache, MariaDB, PHP 8.2.12 and phpMyAdmin in one installer with a simple Control Panel.

What is XAMPP — Local Apache, MariaDB & PHP Server for Windows?

XAMPP is a free local web-server bundle from Apache Friends: Apache, MariaDB, PHP and Perl plus phpMyAdmin, managed from one Control Panel. The 8.2.12 build contains Apache 2.4.58, MariaDB 10.4.32 and PHP 8.2.12. It is a development environment for your own PC — not a production server.

Is XAMPP — Local Apache, MariaDB & PHP Server for Windows free?

Yes. XAMPP is free and open source, distributed by Apache Friends at no cost for development use. There is no paid edition.

How do I install XAMPP — Local Apache, MariaDB & PHP Server for Windows?

Run the installer from this page and install to C:\xampp (not Program Files). Deselect components you do not need (Mercury mail, Tomcat, FileZilla FTP). Open the XAMPP Control Panel, Start Apache and MySQL, and confirm http://localhost loads — then set a MariaDB root password in phpMyAdmin before doing real work.

Technical Specifications & System Requirements

Developer Apache Friends
Platform & OS Windows 10 / 11
Package Size 150.3 MB
Architecture x64
Package Format EXE Installer
Security Verification SHA-256 checksum published
SHA-256 Cryptographic Checksum Computed from the file we serve
12e818ce5aec79fe646606df3a80b35da865ec0213646ad7c92044dcfcec7535
$ Get-FileHash .\xampp-local-web-server-pc.exe -Algorithm SHA256

Software notes

The Bottom Line: XAMPP remains the fastest route from zero to a working local WordPress or PHP site on Windows: one installer, one Control Panel, Start Apache, Start MySQL, done. Respect its two conditions and it will never hurt you — it is a development stack, never a public server, and its bundled PHP 8.2 line, frozen since late 2023, is for testing, not for mirroring a cutting-edge production host.

Features

  • A complete local web stack in one free install: Apache, MariaDB, PHP, phpMyAdmin and a Control Panel to run them.
  • The standard environment for local WordPress/PHP development — tutorials and courses assume exactly this bundle.
  • Component versions are explicit and stable (PHP 8.2.12, MariaDB 10.4.32), matching a large share of shared hosting.
  • Free and open source (GPL) from Apache Friends, a project with two decades of continuity.
  • Installs to C:\xampp and uninstalls cleanly; nothing about it touches the rest of the system.

Considerations

  • Development-only by design: default MariaDB root has no password and the stack is not hardened — never expose it to the internet.
  • The newest Windows build (8.2.12) dates to November 2023; its Apache/MariaDB/PHP components trail current production releases.
  • One PHP version per install — no version switching without parallel installs.
  • Port 80/443 conflicts (IIS, other services) are the most common first-run failure and are environmental, not documented in the installer.

XAMPP for Windows — a Local Apache, MariaDB and PHP Stack in One Installer

XAMPP is Apache Friends' free bundle for running a web server on your own PC: Apache (the web server), MariaDB (the database), PHP and Perl (the languages), plus phpMyAdmin for managing databases in the browser, all wired together by a single Control Panel with Start/Stop buttons. It exists for one job — developing and testing websites locally, exactly the environment WordPress, Joomla and hand-written PHP expect — and this page provides the official Windows installer for the 8.2.12 build.

What is inside this build, exactly

XAMPP version numbers follow their PHP version, and 8.2.12 is a specific, dated bundle: Apache 2.4.58, MariaDB 10.4.32, PHP 8.2.12, phpMyAdmin 5.2.1 and OpenSSL, with Perl alongside. Honesty matters here: 8.2.12 is the newest XAMPP for Windows, but it was released on 19 November 2023 — Apache Friends' Windows line has not moved past it since. The stack is perfectly serviceable for local development and matches what many tutorials and shared hosts still run, but its components are older than current production releases, which is one more reason (below) it must stay a development tool.

The rule XAMPP itself insists on

Apache Friends states it in their own FAQ: XAMPP is configured for development, not production. Default installations are deliberately permissive — most notably, the MariaDB root account starts with no password, services listen on the network, and error reporting is verbose. Running a public website from a default XAMPP install is the classic beginner security incident. Keep it on your own machine, for your own testing; if a site must be reachable, put it on real hosting. For anything beyond throwaway use, set a MariaDB root password (the in-depth section shows how) even locally.

The honest limits

XAMPP pins you to its bundled PHP version — there is no built-in PHP version switcher, so testing against PHP 8.1 and 8.3 means separate installs in separate folders. Its all-in-one nature also hides how the pieces connect, which bites when you graduate to a real server and meet Apache configuration without the Control Panel's buttons. And the two support questions that dominate its forums are environmental, not bugs: Apache refusing to start because port 80 or 443 is already taken (often by IIS or another local service), and permission weirdness when XAMPP is installed under Program Files — the installer itself steers you to C:\xampp for that reason.

In-Depth: XAMPP — Local Apache, MariaDB & PHP Server for Windows

Run WordPress locally: the workflow XAMPP exists for

The workflow XAMPP exists for, end to end:

  1. Install to C:\xampp (the installer's default) — not Program Files, where Windows permissions interfere with config edits and logs.
  2. Start Apache and MySQL from the XAMPP Control Panel; both module rows should turn green with port numbers shown (80/443 and 3306).
  3. Create the database: open http://localhost/phpmyadmin, go to Databases, create wordpress with collation utf8mb4_unicode_ci.
  4. Place the site: unzip WordPress into C:\xampp\htdocs\wordpress so the folder contains wp-admin, wp-content and the rest directly.
  5. Run the installer: browse to http://localhost/wordpress and enter database name wordpress, user root, and the MariaDB root password (blank only until you set one — see the security section; do set one).
  6. Work locally: the site lives at http://localhost/wordpress, the admin at /wp-admin — themes, plugins and content can be developed offline and migrated to hosting later with any standard WordPress migration plugin.

Outcome: a complete, private WordPress on your own PC in about ten minutes — the setup WordPress courses and theme developers assume you have.

Apache won't start: the port-conflict decision tree

The Control Panel says Apache 'attempting to start' and then stops, usually with a port message. Work the causes in order:

1. Port 80 is taken by IIS / WWW Publishing Service. Windows Pro machines often have IIS components enabled. Test: stop 'World Wide Web Publishing Service' in services.msc and try Apache again. If that fixes it, choose: leave IIS off (you are doing PHP work now), or move Apache instead (step 3).

2. Another local server or a previous XAMPP is running. Check the Control Panel's PID/port columns and Task Manager for httpd.exe processes not started by this Control Panel; end them, then start Apache from the Control Panel only.

3. Move Apache off port 80 permanently. In the Control Panel: Config (Apache row) > httpd.conf — change Listen 80 to Listen 8080 and ServerName localhost:80 to localhost:8080; in httpd-ssl.conf change 443 to 8443. Your sites then live at http://localhost:8080 — a small price for zero conflicts.

4. It is not ports at all. If the log instead shows missing DLL or configuration errors, the usual cause is an install under Program Files or a partial antivirus quarantine: reinstall to C:\xampp and whitelist the folder in your antivirus before reinstalling.

The Control Panel log window is the source of truth at every step — read its last three lines before changing anything else.

Security defaults to change before XAMPP is more than a toy

Three changes take a default XAMPP from 'fine on a laptop' to 'responsible even on a laptop':

Set a MariaDB root password. Open http://localhost/phpmyadmin, go to User accounts, edit the root@localhost account and set a password; then update phpMyAdmin's config (C:\xampp\phpMyAdmin\config.inc.php) so its auth uses that password (or switch auth_type to 'cookie' to log in each time). WordPress installs then use this password instead of blank.

Keep XAMPP off the network. Apache and MariaDB bind broadly by default so the stack can be demonstrated on a LAN. If you never demo to other devices, restrict Apache to localhost (Listen 127.0.0.1:80) and leave Windows Firewall prompts unanswered ('Cancel' keeps the block) when they appear.

Remember the perimeter. XAMPP's own FAQ is blunt that the bundle is not production-hardened: no automatic security updates, verbose errors, sample scripts. The password and localhost binding reduce accidents; they do not convert XAMPP into a server. The moment a site needs an audience, it needs hosting — treat that as a rule of the tool, not a limitation to engineer around.

How to Install & Verify XAMPP — Local Apache, MariaDB & PHP Server for Windows

STEP 1
Download the installer

Save xampp-windows-x64-8.2.12-0-VS16-installer.exe — the official Apache Friends installer — from the vendor link on this page.

STEP 2
Install to C:\xampp and trim components

Run the installer and keep the location at C:\xampp (installing under Program Files causes permission problems). On the components screen, deselect anything you will not use — Mercury Mail, Tomcat and FileZilla FTP are common skips; Apache, MySQL, PHP and phpMyAdmin are the core.

STEP 3
Start Apache and MySQL

Launch the XAMPP Control Panel and click Start next to Apache and MySQL. Both rows should turn green with ports shown (80/443 and 3306). If Apache fails to start, another service holds port 80 — see the troubleshooting section on this page.

STEP 4
Verify at localhost and set a database password

Open http://localhost in your browser — the XAMPP dashboard confirms the stack works. Before real work, open http://localhost/phpmyadmin and set a password for the MariaDB root account; it starts with none.

Related Windows PC Software & Alternatives

Node.js — JavaScript Runtime for Windows (LTS) icon
Node.js — JavaScript Runtime for Windows (LTS) 24.22.1 • Open Source
HeidiSQL for Windows PC icon
HeidiSQL for Windows PC 12.21.0.7344 • FOSS
HTTP Toolkit for Windows PC icon
HTTP Toolkit for Windows PC 1.27.2 • FOSS
jq for Windows PC icon
jq for Windows PC 1.8.2 • Open Source
Python — Official Interpreter & Installer for Windows icon
Python — Official Interpreter & Installer for Windows 3.15.0 • Open Source
nvm-windows for Windows PC icon
nvm-windows for Windows PC 2.0.1 • Open Source

Frequently Asked Questions & Verification Guide

Is XAMPP — Local Apache, MariaDB & PHP Server for Windows free and open source?

Yes. XAMPP — Local Apache, MariaDB & PHP Server for Windows is completely free and open-source software. You can download and use it at no cost, and its source code is publicly available.

What does XAMPP include?

Apache (web server), MariaDB (database), PHP 8.2.12 and Perl, plus phpMyAdmin for browser-based database management and OpenSSL. In this 8.2.12 build the exact components are Apache 2.4.58, MariaDB 10.4.32, PHP 8.2.12 and phpMyAdmin 5.2.1. A Control Panel app starts and stops each service. Optional installer components (like Tomcat or the Mercury mail server) can be deselected during setup.

Can I host a public website with XAMPP?

No — and this is the publisher's own warning, not caution theatre. XAMPP is configured for development: the MariaDB root account has no password by default, services are permissive, and the bundle is not hardened or updated like a production stack. Use it on your own PC for building and testing; publish the finished site to real hosting.

Can I run WordPress locally with XAMPP?

Yes — it is the standard workflow. Install XAMPP, start Apache and MySQL in the Control Panel, create a database in phpMyAdmin (http://localhost/phpmyadmin), copy the WordPress files into C:\xampp\htdocs\wordpress, and run the WordPress installer at http://localhost/wordpress using database user 'root' with the password you set (blank only if you have not set one yet — set one).

Which PHP version is in this XAMPP build?

PHP 8.2.12 — XAMPP's version number is its PHP version. Note the context: this build was released on 19 November 2023 and remains the newest XAMPP for Windows, so its PHP is an older 8.2 patch, not a current release. For local development and tutorial work that is fine; do not treat the bundle as a mirror of a modern production host.

Why won't Apache start in XAMPP?

Almost always a port conflict: something else already owns port 80 (or 443) — commonly IIS / the World Wide Web Publishing Service, another local server, or a leftover XAMPP. The Control Panel log names the blocked port. Either stop the competing service, or move Apache: in httpd.conf change Listen 80 to 8080 (and the SSL config's 443 to 8443), then browse your sites at http://localhost:8080. The troubleshooting section walks the decision.

Can I switch PHP versions in XAMPP?

No. Each XAMPP install bundles exactly one PHP version and there is no built-in switcher. The workaround is parallel installs: put the PHP 8.2 build in C:\xampp and another version's build in C:\xampp81 (for example), and run only one at a time — they cannot both own port 80 simultaneously.