← Back to all tutorials

Installing WAMP Server

Install WAMP Server to create a local development environment with Apache, MySQL, and PHP for WordPress.

Installing WAMP Server

WordPress needs a web server, PHP, and a MySQL database to run. On Windows, WAMP Server bundles all three into one easy installation. This gives you a complete local development environment.

What Is WAMP?

WAMP stands for:

LetterComponentPurpose
WWindowsThe operating system
AApacheThe web server that serves your pages
MMySQL / MariaDBThe database that stores WordPress content
PPHPThe programming language WordPress is built on

Alternatives to WAMP

ToolPlatformEase of Use
WAMPWindowsEasy
MAMPmacOS / WindowsEasy
XAMPPWindows / macOS / LinuxEasy
Local by FlywheelWindows / macOSVery Easy (WordPress-specific)
DockerAll platformsAdvanced

Step-by-Step Installation

  1. Go to wampserver.com
  2. Download the latest version for your Windows architecture (64-bit recommended)
  3. Run the installer — follow the setup wizard:
    • Accept the license
    • Choose installation directory (default: C:\wamp64)
    • It may ask you to install Visual C++ redistributables — allow this
    • Choose your default browser and text editor
  4. Click Install and wait for completion
  5. Launch WAMP Server — an icon appears in your system tray

WAMP Tray Icon Colors

ColorStatus
🟢 GreenAll services running — ready to use
🟠 OrangeSome services running — partial startup
🔴 RedAll services stopped

Testing Your Installation

  1. Ensure the WAMP icon is green
  2. Open your browser and go to http://localhost
  3. You should see the WAMP Server homepage
  4. Click phpMyAdmin to verify the database is accessible

Important Directories

PathPurpose
C:\wamp64\www\Your web root — put your websites here
C:\wamp64\bin\apache\Apache web server
C:\wamp64\bin\php\PHP installation
C:\wamp64\bin\mysql\MySQL database server

Creating a Database for WordPress

  1. Click the WAMP tray icon → phpMyAdmin (or go to http://localhost/phpmyadmin)
  2. Login with username root (password is blank by default)
  3. Click "Databases" tab
  4. Enter a database name: wordpress_dev
  5. Select utf8mb4_general_ci as the collation
  6. Click Create

Common Issues

  • Port 80 conflict — Skype or IIS may use port 80. Change Apache's port to 8080 in WAMP settings.
  • MSVCR120.dll error — Install the Visual C++ Redistributable packages from Microsoft.
  • Orange icon stuck — Right-click WAMP → Restart All Services. Check if another program is using port 80.

Key Takeaways

  • WAMP provides Apache, MySQL, and PHP for running WordPress locally
  • The green tray icon means all services are running
  • Your websites go in C:\wamp64\www\
  • Create a database through phpMyAdmin before installing WordPress
  • Common issues involve port conflicts and missing C++ redistributables