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. Dave says:

    Great walk through!!! Thanks for the assist!!!

  2. Elaine says:

    Wow, thanks sooo much. It helped me a lot.

  3. Manuel says:

    Absolutely outstanding! Had an issue with C++ 13 & 14 but it was so well explained and pointed me in the right direction that I was able to solve it and now I have a development WordPress environment on my Window 10 laptop. THANK YOU VERY MUCH

  4. Jonathan says:

    Do I need have basic in knowledge coreldraw and or photoshop to become a professional web designer.
    Thanks for your sincere answer.

  5. Karthik says:

    Really useful and thanks very much..:)

  6. Michael Gyori says:

    Greaet tutorial, thanks!

    One suggestion. Mention the Skype Port 80 issue right at the point when it would be encountered in your tutorial. Having it mentioned at the end was not helpful because I already spent considerable time trying to figure out what was going wrong. A simple note saying: “If your browser screen is blank when selecting phpMyAdmin, then you may have a conflict with Skype (see below).”

  7. mark k says:

    Thx for the tutorial – ran in to problems starting WAMP (blank page on localhost/phpmyadmin), on wins 10 www service was running stopping apache, so ran services.msc and stopped that.

    Only other problem happened when wp tried to create config – by default it self completes txtBox with “password” so just remember to delete it. simple fix but had me stumped for 2 mins.

    once again thx

  8. Frank George says:

    please i need urgent help as i would love to move my site live….i am running wordpress through my local host using Microsoft web matrix through IIS7…how do i do it please…i need help urgently!

  9. ahmed says:


    I have plant to installed WordPress on wamp windows based server.who is right person to contact if I find any problem. Please let me know.

    Thanks in advance.


  10. vijay says:

    i installed wordpress using bitnami software.
    i also tried using wamp both are awesome.

  11. Johari says:

    Thank you for simplifying the manual. The steps you provided are easy to follow. Keep posting great articles!

  12. cornel says:

    great job , thank you

  13. Vikash Gupta says:

    Thank you for providing nice guidance.

    It worked for me excellently.

  14. Ahmed says:

    When i tried to start wamp, its giving me an error that vcruntime.dll is missing… Please any solution?

  15. Mayur says:

    After clicking on phpmyadmin showing error.
    The webpage cannot be found
    Plz help me..

  16. Ruben Tahir says:

    Trying to run phpMyAdmin for the first time, I am prompt to enter user name and password. I suppose there must be a default user name a password. What are they or how to setup my own?

    • Ruben Tahir says:

      Just found out by simply googling. the username is root and no password.
      You should mention that in your tutorial.

  17. J Robinson says:

    My WAMP-64 was installed some time ago on my D: drive. I just added WP. When I point the browser to http://localhost/wp-admin/ (changed the WP folder name back), I get:
    Warning: require_once(D:\wamp64\www/wp-load.php): failed to open stream: No such file or directory in D:\wamp64\www\wp-admin\admin.php on line 31
    Fatal error: require_once(): Failed opening required ‘D:\wamp64\www/wp-load.php’ (include_path=’.;C:\php\pear’) in D:\wamp64\www\wp-admin\admin.php on line 31

    Should I just delete everything and start over, or is there a configuration to fix this?

  18. Dipankar Ray says:

    Thanks for the step by step info. However, I am not sure how to create a Database as very time I click on the Wamp icon and then phpMyAdmin, I am getting a blank new browser window with ‘http://localhost/phpmyadmin as the URL..

    Therefore,I can’t proceed to the next step which is to click on Databases and thereafter create a database for WordPress.

    Please help and point out if I am not on the right path.


    • WPBeginner Support says:

      Try adding a slash at the end of URL like this:


      • Dipankar Ray says:

        Thanks for your suggestion of using the URL above. I had overcome my previous issue and was able to proceed. However, after that I came across other issues like MySQL errors and decided to uninstall WAMP server from my computer.

        By the way, my OS is Windows XP.

        Now on trying to re-install after downloading this software I am receiving the following error message. ‘ Aestan Tray Menu has encountered a problem and needs to close.We are sorry for the inconvenience.’. This has happened over three times. Thanks.

        Please help as I am not sure where I am erring.

        • WP Complete Beginner says:

          Pretty sure that you have Microsoft IIS running which is causing this mess. Happened to me. Go to the WAMP > Apache > Test Port 80 option.

          It will blurt out something like Port 80 wrong service is running. The real service that’s running is MS IIS X.0

          Launch cmd as admin and type iisrest / stop in the command line.

          Then go to WAMP > Apache > Service Administration > Install Service
          Finally, Then go to WAMP > Apache > Service Administration > Start Service.

          It should work! Let me know if my comment helped you.

  19. Jun Allan says:

    Thank you!

  20. Fawaz says:

    Thanks a lot. Had to fix some errors and finally it worked. Very nice guide through. Already bookmarked.

  21. Vassilis says:

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

  22. Krishna says:

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

  23. 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.

    • Visata requires Wamp Version 2.5 says:

      Recently Wamp and Google Maps versions or settings have changed. Vista SP2 cannot run the latest Wamp, Stay with Version 2.5, specifically MYSQL 5.6.XX (I found xx=17 but some places say xx=26 is available.)

      Thank you so much for these instructions!! Other lists of instructions are very difficult and not very useful.

  24. Vianney kirumira says:

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

  25. Iris India says:

    Excellent ! Thanks for your step by step instructions

  26. 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.

  27. Nicko Johnson says:

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

  28. 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

  29. NOURI says:

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

  30. 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.

    • WPBeginner Support says:

      The mysite directory is not found in the WAMP web folder.

      • kittyket says:

        and what do you have to do then?

        • WPBeginner Support says:

          It depends. May be a user has installed WordPress in their htdocs or www directory. Or may be they created the mysite folder elsewhere and WAMP can’t find it in the www directory.

  31. Maya says:

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

  32. puri shanker dhobi says:

    how to open a php template in wordpess using wamp server

  33. Gold says:

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

  34. 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!

  35. 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!

  36. Jimmy Karago says:

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

  37. soheib says:

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

  38. Mxolisi Maphosa says:

    Thank you very much, this helped me so much.

  39. ana says:

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

  40. Jeremy says:

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


  41. 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

  42. 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.

  43. Luc says:

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

  44. dicegeorge says:

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

  45. 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.


  46. Ron says:

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

  47. 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.