What Is WAMP Server and Why Use It?

WAMP Server is a free, Windows-only development stack that bundles Apache, MySQL/MariaDB, and PHP into a single installer — the WAMP in its name. Instead of installing and configuring each component separately, you run one setup wizard and get a complete local web server ready for PHP development in under 10 minutes.

By the end of this guide you will have WAMP Server 3.4.0 running on Windows 11, with Apache serving pages from C:\wamp64\www, a working phpMyAdmin panel for database management, and a test PHP project proving the whole stack works. This guide is for beginners setting up their first local PHP environment, and for developers switching from XAMPP who want WAMP's per-version PHP switching.

WAMP is strictly for local development — never point it at the public internet. It ships with permissive defaults (blank database passwords, full error display) that make development fast but production dangerous.

Prerequisites

  • Windows 11 (or 10), 64-bit. WAMP Server 3.4.0 dropped 32-bit support — the installer is 64-bit only.
  • Administrator rights on the machine. The installer and the Apache service both require it.
  • Free port 80 (and 443). IIS, Skype, or another local server on port 80 will block Apache. We check this in Step 1.
  • Visual C++ Redistributables. WAMP's Apache and PHP builds are compiled with MSVC and will not start without them. Step 2 covers exactly which ones.
  • About 2 GB of free disk space.

Step 1 — Free Up Port 80

Apache needs port 80 (and 443 for HTTPS). Two Windows features commonly steal it: IIS (Internet Information Services) and Skype's port-80 fallback. Open an elevated Command Prompt (right-click Start → Terminal (Admin)) and check:

netstat -ano | findstr :80

This lists every process listening on port 80. If you see a line ending in LISTENING, note its PID (the last column) and identify it with:

tasklist /FI "PID eq <PID>"

If IIS is the culprit, stop it so it never fights Apache again:

net stop was /y

The net stop was /y command stops the Windows Process Activation Service (which IIS depends on) and answers "yes" to all dependency prompts, so IIS stays down through reboots unless you re-enable it. In Skype, go to Settings → Advanced → Connection and uncheck "Use port 80 and 443 for additional incoming connections", then restart Skype.

Step 2 — Install the Visual C++ Redistributables

This is the step most people skip — and the number-one reason WAMP's icon stays orange instead of turning green. Apache and PHP in WAMP 3.4.0 are built with Visual Studio 2022, so they need the matching runtime libraries.

Download and install all of these (x64 versions) from Microsoft's official site before touching the WAMP installer:

  • Visual C++ Redistributable for Visual Studio 2015–2022 (x64) — the critical one for current Apache/PHP builds
  • Visual C++ Redistributable for Visual Studio 2013 (x64) — vcredist_x64.exe, version 12.0.40664
  • Visual C++ Redistributable for Visual Studio 2012 Update 4 (x64) — version 11.0.61030

Install each one by right-clicking → Run as administrator, and accept the license terms. The WAMP download page also lists a bundled "all-in-one" VC++ installer — that works fine too. If you already have some installed, install them again; a repair-style reinstall guarantees the right build numbers. Reboot after this step.

Step 3 — Download WAMP Server 3.4.0

Get the installer only from the maintainer's official file site:

https://wampserver.aviatechno.net/

Grab WampServer 3.4.0 64-bit (the full install, roughly 500 MB). The 3.4.0 release bundles Apache 2.4.65, PHP versions from 8.0 up to 8.5 side by side, MySQL 8.4.7 (LTS), MariaDB 11.4.9, phpMyAdmin 5.2.3, and Adminer. Also download the cumulative Update 3.4.2 — it only patches the tray manager, but newer component add-ons require it.

Avoid third-party download mirrors. Repackaged installers from random sites are a classic malware vector, and you will be running this with admin rights.

Step 4 — Run the Installer as Administrator

Right-click wampserver3.4.0_x64.exe and choose Run as administrator. Walk through the wizard:

  1. Accept the license and keep the default install path C:\wamp64. Do not install into Program Files — the space in the path and Windows' write protections break several PHP/MySQL behaviors.
  2. When the wizard asks for a default browser and editor, point it at your real browser (e.g. Chrome) and a real code editor like VS Code — WAMP uses these when you click tray-menu shortcuts.
  3. Let the installer finish, then run wampserver3.4.2_x64_update.exe the same way (right-click → Run as administrator).

The installer registers two Windows services — wampapache64 and wampmysqld64 (or wampmariadb64) — and drops a WampServer shortcut on your desktop.

Step 5 — Start WAMP and Read the Tray Icon

Launch WAMP Server from the desktop shortcut (again, it elevates automatically). A new icon appears in the system tray near the clock. Its color tells you everything:

  • Red — all services stopped.
  • Orange — some services started, something failed (usually missing VC++ runtimes or a port conflict — go back to Steps 1–2).
  • Green — Apache, MySQL/MariaDB, and PHP are all running. This is what you want.

Left-click the tray icon → Restart All Services any time you need a clean start. Right-clicking gives you the full menu: version switching, config files, logs, and service controls per component.

Step 6 — Test Apache and phpMyAdmin

With a green icon, open your browser and visit:

http://localhost/

You should see the WAMP Server homepage listing your Apache, PHP, MySQL/MariaDB, and phpMyAdmin versions. If it loads, Apache is serving correctly from C:\wamp64\www. Next, open the database panel:

http://localhost/phpmyadmin/

Log in with username root and a blank password — a fresh WAMP install ships with no root password. You will see the phpMyAdmin dashboard. Keep it open; we harden this in the next step.

Step 7 — Set a MySQL Root Password

A blank root password is fine for an afternoon of tinkering, but every local database you care about deserves a password. In phpMyAdmin:

  1. Click the User accounts tab at the top.
  2. Find root with host localhost and click Edit privileges.
  3. Open the Change password tab, enter a strong password twice, and click Go.
  4. Left-click the WAMP tray icon → Restart All Services so the change takes effect everywhere.

Alternative via the command line: left-click the tray icon → MySQL → MySQL console, log in as root, and run:

ALTER USER 'root'@'localhost' IDENTIFIED BY 'YourStrongPassword123!';
FLUSH PRIVILEGES;

ALTER USER is the MySQL 8.x-native way to change credentials (the old SET PASSWORD syntax was removed), and FLUSH PRIVILEGES forces the server to reload the grant tables immediately. After this, phpMyAdmin will ask for the new password — edit C:\wamp64\apps\phpmyadmin5.2.3\config.inc.php and update the password line if you want auto-login back.

Step 8 — Create Your First Project

WAMP serves whatever sits in C:\wamp64\www. Create a folder there for your project and drop in a quick PHP sanity check:

mkdir C:\wamp64\www\hello
notepad C:\wamp64\www\hello\index.php

Paste this into index.php:

<?php
echo "WAMP is working. PHP version: " . PHP_VERSION;
?>

Now visit http://localhost/hello/ in your browser. If you see the message with your PHP version, the full stack — Apache → PHP → browser — is live. For a cleaner setup, use the tray menu's Add a Virtual Host option instead of subfolders: it creates a proper myproject.local host with its own document root, matching how real hosting works.

Step 9 — Switch PHP Versions (Optional but Powerful)

WAMP's killer feature is running multiple PHP versions side by side. To test your project on PHP 8.4 while the default is 8.5: right-click the tray icon → PHP → Version → pick the version. WAMP restarts Apache with the new binary in seconds.

Need a version that is not listed? Download its add-on from the WAMP files page, run it as administrator, and it appears in the same menu after a tray-menu Refresh. This makes WAMP ideal for maintaining legacy projects on PHP 7.4/8.0 while building new ones on 8.5.

Verify It Worked

Run through this checklist before you start building:

  • Tray icon is green.
  • http://localhost/ shows the WAMP homepage with component versions.
  • http://localhost/phpmyadmin/ opens and logs in with your new root password.
  • http://localhost/hello/ prints the PHP version.
  • Windows Services (services.msc) shows wampapache64 and wampmysqld64 as Running.

If all five pass, your local development environment is fully operational.

Common Issues & Fixes

1. Tray icon stuck on orange — Apache won't start

Cause: missing Visual C++ redistributables (90% of cases) or port 80 in use. Fix: reinstall every VC++ package from Step 2 as administrator, reboot, then re-run the port check from Step 1. Also verify with httpd -t from C:\wamp64\bin\apache\apache2.4.65\bin — it prints config syntax errors.

2. "Forbidden — You don't have permission to access / on this server"

Cause: you are accessing via a hostname or LAN IP while Apache's default config only allows localhost. Fix: left-click the tray icon → Put Online (temporary), or properly add a Virtual Host for the project and set Require all granted for that vhost's directory block.

3. phpMyAdmin: "Access denied for user 'root'@'localhost'"

Cause: you set a root password but phpMyAdmin's config.inc.php still has the old (blank) one. Fix: open C:\wamp64\apps\phpmyadmin5.2.3\config.inc.php, find $cfg['Servers'][$i]['password'], and set it to your new password — or change the auth type to cookie so phpMyAdmin prompts at login.

4. MySQL won't start — port 3306 conflict

Cause: another MySQL/MariaDB instance (from XAMPP, a standalone install, or Docker) is already holding port 3306. Fix: stop the competing service in services.msc, or change WAMP's MySQL port: right-click tray → MySQL → my.ini, change port=3306 to port=3307, update phpMyAdmin's config port to match, and restart all services.

5. WAMP doesn't start automatically with Windows

Cause: WAMP installs its services as manual-start by design. Fix: open services.msc, right-click wampapache64 and wampmysqld64 → Properties → Startup type → Automatic. Alternatively keep them manual and just launch the desktop shortcut when you sit down to code — lighter on boot time.

Conclusion

You now have a complete WAMP Server 3.4.0 stack on Windows 11: Apache serving from C:\wamp64\www, MySQL 8.4 with a secured root account, phpMyAdmin for visual database work, a test project proving the pipeline, and the ability to hot-swap PHP versions from the tray menu. From here, install Composer globally and point it at WAMP's PHP binary, and you can scaffold Laravel or Symfony projects locally in minutes.

Setting up dev environments across a team, or moving a WAMP-built project to a production Linux server? XpertBees handles server setup, migrations, and managed hosting — reach out and we will take it from here.