To install WordPress on Windows with WampServer, first get Apache, PHP and MySQL/MariaDB running, then place the WordPress files in WampServer’s web root, create a database in phpMyAdmin, and run WordPress’s local installer. A green WampServer icon and working http://localhost/ and http://localhost/phpmyadmin/ pages are prerequisites.
What you need before starting
WampServer is a Windows local-server package that supplies Apache, PHP and MySQL for applications such as WordPress. WordPress itself is not included: you download its files separately and connect them to a database.
For a new installation, use WordPress’s current recommended server versions rather than the older minimums in its pre-install handbook. The requirements below were current on September 30, 2026.
| Component | Current WordPress recommendation | Important qualification |
|---|---|---|
| PHP | 8.3 or newer | The older pre-install handbook lists PHP 7.4+, but that is not the preferred target for a new setup. |
| Database | MariaDB 10.11+ or MySQL 8.0+ | The older handbook lists MySQL 5.7 or MariaDB 10.3+ as a baseline. |
| Web server | Apache or Nginx recommended | Any server that supports PHP and MySQL can run WordPress; WampServer provides Apache. |
| Transport security | HTTPS recommended | A localhost site normally runs only on your computer and is not a public HTTPS deployment. |
Download the WampServer installer that matches your Windows architecture, and keep administrator access available so the installer can register its services.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →#1 Best Overall
- Server 2022 Standard 16 Core
1. Install WampServer
- Run the WampServer installer and accept the setup wizard’s defaults unless you have a reason to change the installation directory.
- Note the web-root location shown by the installer. In a typical installation, this is the WampServer
wwwdirectory. - Launch WampServer after setup. It places a status icon in the Windows notification area.
2. Verify Apache, PHP and MySQL before adding WordPress
Wait for the tray icon to turn green. Green indicates that the required services are running; orange indicates that at least one service has a problem; red indicates that Apache and MySQL are not running.
Check the WampServer home page
Open http://localhost/. You should see the WampServer homepage. This confirms that Windows can resolve localhost and that Apache is responding.
Check phpMyAdmin
Open http://localhost/phpmyadmin/. The phpMyAdmin interface confirms that the database service is available for administration. Leave this tab available for the database step.
If localhost does not open
- Confirm that
localhostresolves to127.0.0.1in the Windows hosts configuration. - Check whether another program is already using port 80. Common conflicts include another local web server, WebDAV services or Skype.
- Review any Windows Firewall prompt for Apache and allow the service on the appropriate private network.
- Restart WampServer after correcting the conflict and wait for the icon to become green.
3. Download WordPress and place it in the web root
- Download the WordPress package from WordPress.org.
- Unzip the downloaded archive.
- Copy the extracted
wordpressfolder into WampServer’swwwdirectory. - Optionally rename the folder to a project name such as
my-site. That folder name becomes part of the local address.
For example, if the folder is wordpress, the site will be available under http://localhost/wordpress/. Avoid spaces and complicated punctuation in the folder name.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #2
4. Create the WordPress database in phpMyAdmin
- Go to
http://localhost/phpmyadmin/. - Select New or Databases in the left navigation.
- Enter a distinct database name, such as
wordpress_local. - Choose a UTF-8-capable collation if phpMyAdmin asks you to select one, then create the database.
WordPress needs the database name, database user, password and host during installation. The database does not need tables yet; WordPress creates those after it successfully connects.
5. Run the WordPress installer
Open the installer path using the folder name you chose:
http://localhost/wordpress/wp-admin/install.php
Replace wordpress with your project folder when necessary. If WordPress first displays a language selector or a configuration prompt, continue until it asks for database details.
Enter the database connection values
| Installer field | What to enter in a typical local setup |
|---|---|
| Database Name | The database you created, for example wordpress_local. |
| Username | The MySQL/MariaDB account permitted to use that database. WampServer tutorials commonly use root locally. |
| Password | The password for that account. Some tutorial installations leave the local root password blank, but a password is required before any public deployment. |
| Database Host | localhost. |
| Table Prefix | Keep the default unless you have a specific reason to change it. |
These values must match the account configured by your WampServer database service. A blank password is a local tutorial convention, not a secure production configuration.
Complete the site setup
- Enter a site title.
- Create an administrator username that is not an obvious name such as
admin. - Generate and save a strong administrator password.
- Enter an email address you can access.
- Submit the installation and wait for the success message.
You can then sign in at http://localhost/wordpress/wp-admin/ (using your own folder name).
6. Enable custom permalinks
WordPress’s readable permalink structures depend on Apache rewrite rules. In WampServer, use the tray menu’s Apache modules list and enable rewrite_module. WampServer may reload Apache automatically; if it does not, restart or reload the Apache service.
Afterward, in WordPress go to Settings > Permalinks, choose a structure such as Post name, and save the changes. If post URLs later return 404 errors, verify that rewrite_module is still enabled and that Apache has been reloaded.
7. Increase upload limits when larger files fail
Small images may upload with the defaults, while larger media, themes or plugins can exceed PHP limits. Edit the active WampServer PHP configuration and raise both upload_max_filesize and post_max_size. A WampServer tutorial uses 50M as an example value; choose limits appropriate for your local project.
Recommended Free Tools
Rank #4
- Used Book in Good Condition
- Open the WampServer PHP menu and edit the configuration used by Apache.
- Set
upload_max_filesizeto the required limit. - Set
post_max_sizeto the same or a larger value. - Save the file and reload or restart Apache.
- Retry the upload in WordPress.
Troubleshooting common WAMP and WordPress errors
Orange or red WampServer icon
Use the icon’s service status and log menus to identify whether Apache or MySQL failed. Check port conflicts, firewall prompts and whether another server is already running. The icon should be green before you troubleshoot WordPress itself.
WampServer homepage does not load
Verify the localhost to 127.0.0.1 mapping and make sure port 80 is free. A second Apache installation or another application commonly captures that port.
phpMyAdmin cannot connect
Confirm that the selected MySQL/MariaDB service is running and that phpMyAdmin is using the correct local credentials. If you used a no-password local account, its phpMyAdmin configuration must permit that authentication method.
WordPress reports “Missing MySQL extension”
Check that the PHP build selected by Apache includes the required MySQL/PDO extension. WampServer can contain multiple PHP versions; ensure Apache is using the version whose extensions are enabled, then restart Apache.
Best Value
- Renewed server with the highest quality standards
- Ideal for a robust enterprise environment or data center
- All servers include power cords, and other parts detailed in full product description below
- Custom configurations available upon request
Database connection errors during installation
Compare every installer field with phpMyAdmin and the account used by the database service: database name, username, password and host. A spelling difference or an incorrect password prevents WordPress from creating its tables.
Keep localhost separate from a public website
A WampServer localhost installation is intended for development and testing. Do not expose it directly to the public internet. Before publishing, move the site to hosting that meets WordPress’s current PHP, database and HTTPS recommendations, create a least-privilege database user with a nonblank password, protect administrator credentials and plan a proper migration of the files and database.
When comparing WAMP with another local environment, evaluate the bundled PHP and database versions, database-management interface, Apache rewrite support, ease of changing PHP versions, handling of port conflicts and the path from local development to production hosting.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

