Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Install WordPress on your Windows Computer Using WAMP

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Install WordPress on your Windows Computer Using WAMP

Did you know that you can install WordPress on your personal computer for learning and testing purposes. The process of installing WordPress on your personal computer is also known as setting up a local server environment or localhost. Often theme designers and plugin developers install WordPress on a local server environment to speed up their development process. An average user can use the local server environment to test plugins and/or make changes to the site before making it live for their audiences. In this article, we will show you how to install WordPress on your Windows computer using WAMP.

Note: If you install WordPress locally on your computer, then the only person who can see that site is you. If you want to have a live WordPress site available to the public, then you need to have a Domain and WordPress Web hosting. We recommend that you follow this guide on how to install WordPress.

What is WAMP?

WAMP or WampServer is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.

Installing Wampserver on your PC

First thing you need to do is go to WampServer website and download the latest WampServer. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will work on 64-bit versions of Windows.

Once you have downloaded WampServer, run the installation program and follow on-screen instructions. At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.

Installing Wampserver

Once you are done with the installation, launch WampServer.

Setting Up a Database for WordPress

WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows taskbar and then click on phpmyadmin.

launching phpMyAdmin in Wamp

phpMyAdmin will open in a new browser window. Click on Databases in phpmMyAdmin to create a new database for WordPress. Choose a name for your database and click on Create button.

Creating a database in phpMyAdmin for WordPress

Installing WordPress on Windows with WAMP

Download a copy of WordPress from Extract the zip file and copy the wordpress folder. Go to C:\wamp\www and paste wordpress folder there. You can rename the wordpress folder to anything you want for example mysite, wpbeginner, etc. For the sake of this tutorial, we renamed our wordpress directory to mysite. Now open a web browser and go to:


WordPress will inform you that it can not find a wp-config.php file. Click on the Create a Configuration File button to create it.

Create wordpress configuration wp-config file

On the next screen, you need to provide your database information. The database name will be the one that you selected. In our case, we called it test_db.

Please note that your default database username will be root and leave the password blank. Click on the submit button and WordPress will create a configuration file for you.

Provide your database information to install WordPress on localhost with WAMP

After this you will see a screen informing you that WordPress has successfully created the configuration file, and you can proceed with the installation. Click on Run Install button.

Run WordPress Installation Script

On the next screen, fill out the installation form. You need to provide a title for your website, choose an admin username and password, and provide admin email address. Finally press the Install WordPress button.

WordPress Installation Page

WordPress will quickly run the installation and create database tables. Once done, you will see a success message after the installation. You can then proceed to your WordPress by clicking on the Log in button.

Troubleshooting WAMP Skype Error

If you have Skype installed and running then WampServer may not be able to work properly due to a conflict with Skype. The conflict is caused by both Apache and Skype using the same port 80. There is a simple fix for this problem. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.

Fixing Wamp / Xampp Skype Conflict

Enabling Pretty Permalinks in WAMP

Pretty permalinks will not work by default on your local server environment. All your URLs will look like localhost/mysite/?p=18. If you go to Settings » Permalinks and use one of the other opttions, then it will show you “page not found” errors. We have already written about a solution here that will show you how to enable custom permalinks in WAMP.

Migrating from WAMP to Live

After numerous request via twitter, facebook, email, and comments in this post, we have written a guide on how to move WordPress from WAMP local server to a live site. Hopefully you guys will find it helpful when you are ready to deploy your local site to production.

We hope that this article helped you install WordPress on your Windows computer using WAMP. Having a local server environment is great for learning and testing purposes. Remember, if you want to run a blog for other people to see, then you do not need to install WordPress on your computer. You need to install WordPress on a web hosting provider. If you have any questions, then please feel free to ask in the comments below.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. Vassilis says:

    How do I establish 2 or more sites on the same server (if possible)?
    Thanks in advance

  2. Krishna says:

    Really useful and worked perfectly. Thank you so much..

  3. ART says:

    I’m an advanced beginner using Vista SP2. I think I am running both 32 and 64 bit. I had a big problem with VCRunTime140.dll missing error. First I tried Wamp 64bit, then Wamp newest 32bit, then confirmed VCRunTime140.dll was installed in my Windows\System32 folder and confirmed my updated Firefox was in the Programs(86) folder. Still had the *.dll missing error. Then tried the older Wamp 32bit. Problem solved.

    2 more errors I made were to copy the WordPress folder without extracting it. Then deleted where I copied it and properly extracted it before copying. But I copied it to Wamp instead of Wamp\www

    After I deleted it from the second wrong location, I copied it to Wamp\www and things worked great after that.

    Hopefully a little helpful to call out some beginner errors to prevent others’ headaches.

  4. Vianney kirumira says:

    Thank u so much guyz. really you have made my day!. At least

  5. Iris India says:

    Excellent ! Thanks for your step by step instructions

  6. Sid says:

    Probably being dumb, but how do i see my web site project again and work on my site? To open it again I selected the ‘wamp’ icon, it opened a dashboard where I could see my project folder, I double clicked to open it, but instead of my site I got a page that said error my page cannot be found. I could not see the wordpress dashboard when I selected the wamp icon or any option to open wordpress. Can you please advise? Thanks.

  7. Nicko Johnson says:

    After clicking on phpMyAdmin its saying the site can’t be reached. What could be wrong?

  8. Sid says:

    Just want to say thank you! I have never done anything like this before and your steps were very useful and easy to follow

  9. NOURI says:

    when I try to install WAMP, it gives me error msg

  10. JP says:

    I followed instructions, yet when I attempt to open the browser with:


    I get a 404 file not found. Any hints as to what is going on? Thanks.

  11. Maya says:

    Struggled a bit with Wampserver installation but finally everything went smooth. Thanks for the step-by-step explanation.

  12. puri shanker dhobi says:

    how to open a php template in wordpess using wamp server

  13. Gold says:

    Thank you so much!!!! You’re all shades of amazing.. This tutorial was super super helpful. Everything worked perfectly. Thanks again!

  14. veena says:

    after wp_config file it is sudenly showing following error.
    Error establishing a database connection
    I have created a database , mysql , apache , php are all working, how find out solution for this?

    • Suzi says:

      I was getting the same error because I was not using a password, and I forgot to remove the word “password” where it asks for MySQL password on the previous page!

  15. Erling Bergan says:

    I have followed the instructions, and everything has looked fine. I have clicked on the Wampserver icon, and then clicked on phpmyadmin. A browser window opens, but there is no phpMyAdmin in it. The web page is blank. Could you give me a hint of what may be wrong?

    • Suzi says:

      I was having the same issues .. there are so many reasons that this could be happening. did you follow ALL of the instructions, including the VISUAL downloads and skype and port 80 issues? I got to the point where my icon was green and still would not work, so I uninstalled it and used the 32 bit version even though I have 64 bit on my pc. Then it worked!

  16. Jimmy Karago says:

    Thanks so much was lost but, this helped me a lot

  17. soheib says:

    thank youuuuu really helped!!!!!!!!

  18. Mxolisi Maphosa says:

    Thank you very much, this helped me so much.

  19. ana says:

    Great tutorial! It really helped me. I’ll be following you.

  20. Jeremy says:

    Hi, what if I have an instance of Acquia Dev Desktop (Drupal) on my local machine? Installing this wont be an issue?


  21. Paul Gomez says:

    Hello, right now I am trying to set the WAMPserver, but in i see 4 versions 2 for 32 Bits and 2 for 64 Bits. Which of the two versions should I pick? I am a bit confused what the difference is from the 2 versions. I see the Apache, PHP and MySQL versions are different but I am not sure.

    • WPBeginner Support says:

      They are basically the same. Most modern computers have 64bit architecture. If you are using an older machine then try 32bit version, other wise try 64bit version.

      • Paul Gomez says:

        I understand, but that was not my question. Please read my original message.

        • Jason says:

          This has to do with the size of the data types the processor can handle and the size of the memory addresses it can hold in it’s register. 64 bit applications can utilize more RAM because they can utilize exponentially more of those addresses, but unless you are writing your own ‘big data’ type of applications or using plugins that need the extra memory then it’s almost completely irrelevant to you. You won’t notice the difference either way, so just pick one.

        • Phil says:

          Any answer on this? I have the same question. I know I want 64 bit, but what PHP version should I choose?

    • HV says:

      The two 64bit installs have different software versions.
      Apache : 2.4.17 MySQL : 5.7.9 PHP : 5.6.16 on one
      and Apache : 2.4.9 MySQL : 5.6.17 PHP : 5.5.12 on the other.
      The two 32 bit versions are similar

      They are giving you options in case your development environment
      needs a particular version of Apache, PHP or MySQL

  22. Prasad Sagare says:

    After clicking on phpmyadmin show error.
    IIS 8.5 detailed error-404 not found.
    Plz help me..

    • David says:

      I get the same error 404 page when clicking phpmyadmin. Any resolution here? I do not have skype on this computer.

  23. Luc says:

    After numerous failures, this instruction worked just fine! Thanks.

  24. dicegeorge says:

    that worked without a hitch,
    i’ve been wanting to do this for ages!

  25. Michael says:

    It is not clear to me whether I must set up a database first, or can I simply import my current live back up of the blog, and then work on it locally.
    I sort of expected to import the existing word press blog to my local hard disk, and the import process will then create all the tables and the databases.


  26. Ron says:

    Thank you. This great page of info REALLY helped !!!

  27. Prashant Menase says:

    Thank you for easy steps!!! Helped me lot! keep adding………….

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.