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. Soph Desharnais says:

    Great tutorial. No issues and was set up in less than 10 minutes. Thank you.

  2. Tasneem says:

    Thank you sooo much for this awesome tut, I also have the followup one bookmarked for moving localhost site to live. I am now all set up with my test site on my local server. No more building websites with a maintenance plugin needed! :)
    My question is, do I have to create a new database and new wordpress site for every new site I build, or can I just clean out and reuse this same test_db and localhost/testsite that I created if I don’t need it anymore? what do you guys do?

  3. Nadia says:

    Hello, thank you for that great tutorial! It works almost perfectly for me. The only problem I have is that I am not allowed to upload images by grad and drop in the media library. I’ve got javascript error “Uncaught TypeError: Cannot read property ‘appendChild’ of null – load-scripts.php:22”

    That said it’s not a problem of the upload itself because I am able to upload images via “Media” > “Add New”.

    Is it only my problem? I’ll be really grateful for any assistance with it. Thanks!

    • WPBeginner Support says:

      Please try deactivating all plugins and then adding an image using drag and drop. If this resolves your issue, then one of the plugins installed on your site is conflicting with WordPress core.

      • Nadia says:

        Thank you for the prompt reply! NO plugins at all, fresh wp 4.3.1 installation :(

      • Nadia says:

        I resolved this by installing XAMPP instead of Wampserver. I had issues with XAMPP as well, and learned to run it as administrator in my Windows 8. It fixed the issues and maybe there was the similar one with the Wampserver.

  4. Anwar Manha says:

    I tried the exact step but thrown by the below error, could you please advise
    ( ! ) Warning: require(C:\wamp\www\test1/wp-includes/load.php): failed to open stream: No such file or directory in C:\wamp\www\test\wp-settings.php on line 21
    Call Stack

  5. Daniel says:

    Hi, i have made a website using the WAMP-server.
    When try to acess the website from my phone to check the responsivness, all i get is the the text from the website. No styling or pictures are shown.
    Is there any type of settings that i have to enable?

  6. John van Rems says:

    Maybe I’m stupid but after installing the Wampserver I try to open phpMyAdmin to setup a database but instate of getting a page like the example the browserpage is empty… Logic I guess because Apage doesn’t run so I can’t see php pages on a local machine.

    I try to run it on Windows 10 Can you tell me what’s wrong?


    • John van Rems says:

      Problem solved by correcting te Windows 10 Internetport to 8080
      Now to find out how to connect the php db to my wordpress

  7. tsega says:


    Nice post. I find it helpful but i wonder how can i use my own them. Can you give as your expertise on that ?

  8. Keith in Winchester says:

    A full day of headbanging and I was just about to give up when I found this invaluable site. Could not have been made easier. Follow the well laid out instructions and you will find it a breeze. Great work and Many Thanks.

  9. Medha says:

    Thank you so much, this really helped!

  10. John says:


    I followed all the instructions up to the point where i go through my web browser to localhost/mysite. I get the error “wp-seetings.php is missing” however the link you provided to create a configuration file is empty. How do i create “wp-settings.php”?


  11. Ahsan says:

    Thanks guys, it was surely a great help!

  12. sandeep says:

    thank you so much. very good tutorial.

  13. Mike says:

    This is a real beauty! Thanks so much. I know HTML, CSS, JavaScript, PHP, a very little MySQL — no genius at some of it, but I know what I’m doing. But an organization I’m involved with may wind up using WordPress and I’ve never liked these WYSIWYGs. Since I do want to learn the stuff, though, I wanted to give it a swing on localhost rather than messing up my own GoDaddy- and Netfirms-hosted domains.

    Just follow your directions and this installs beautifully. One question, though. Is there any particular book you’d recommend? I was particularly looking at the Dummies All-in-One and the Missing Manuals books. Is one better than the other? Or do you recommend a third alternative? I don’t want to buy a whole library full of this stuff for a technology I may never use that much except for helping this organization with upkeep.

  14. Liana says:

    after I click on the phpadmin all I get is a blank page with nothing on it :/

  15. raydy says:

    Hi There, Thanks for the tutorial

    however, i encounter with this problem for localhost/mysite/

    Not Found

    The requested URL /mysite/ was not found on this server.

    Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80

    • Alok says:


      I am also facing the same problem…Did you get the solution? Can you please help.


  16. Mike says:

    Thumbs up mate,

    Great guide…it was very helpful!

  17. Julian says:

    Please help. This is what I get:

    “Not Found

    The requested URL /mysite/ was not found on this server.

    Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80”

    I took my wordpress folder and dropped it in the wamp folder, C:\wamp\www. I renamed my wordpress folder to: “mysite”. I then went to Chrome and searched: “localhost/mysite/”. And I get:

    “Not Found

    The requested URL /mysite/ was not found on this server.

    Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80.”

  18. Kyle says:

    Burnt out. Seriously. Help.

    No manner of step by step instruction is working and I’m pulling out my hair. What am I missing?

    “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:

    C:\wamp\www ???

    First off, there is no folder titled “www,” so maybe you’re implying the website name take that place? I don’t really know.

    Still, I tested all methods. I tried creating a folder called ‘www,’ I tried simply C:\mamp\sitename, But when I type in the “localhost/sitename” absolutely nothing happens.

    I have experience doing website redesigns and all I want to do is clone this site to my local host and I am baffled at how I’ve spent 2 whole days just trying to get WordPress isn’t even installed on my local host.

    Thank you in advance.

    Composed under duress.

    • Captain says:

      Hello Kyle, sorry for your sad experience.

      You said you don’t see a folder called “www” on C:\wamp.

      Can you check to confirm that you have wampserver installed on your computer?

      Also, it could be it’s installed but not on the C drive.

      Do get back when you confirm; cos the tutorial was quite straight and worked really well for me.

  19. aman says:

    After installing WAMP server and clicking on phpmyadmin there is an error that says Access Denied and no other option is displayed. Please Help me

  20. DutchLuck says:

    Great tutorial, sweet and simple!!! Thanks!!!

  21. Karthikeyan says:

    Good Example.Its working fine for me.

    Thank you all..

  22. Janvi says:

    i m not getting create configuration file option

  23. Samantha T says:

    Sooooooooooooooooooooo… I uninstalled everything and reinstalled. Now I have an orange light on the Wamp, and when I open phpMyAdmin, I get “Access denied”: MySQL said: Documentation

    #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)

    phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.


  24. odion says:

    After installation of wordpress in my computer, I did not receive a success message but a blank white page and am not able to login into the wp-admin.

  25. odion ikhidero says:

    Pls I got. The following errors after installation

  26. Sansun says:

    I already have MySQL server running in my local 3306 port, how do I install WAMP in my case?

  27. Aamir says:

    Thanks for the help.
    I have been taking help from your immensely helpful site. It is a great service that you guys are providing.

  28. Jim14409 says:

    Thanks for your site and all the help you offer. I installed WAMP and everything went perfectly until I reached the part where you said:
    “WordPress will inform you that it can not find a wp-config.php file.”
    Well WP never said that :0 but sent me directly to a Directory of “JimSite” with links there to Parent Directory and a link to WordPress. Finally clicked the WordPress link and now it seems we are heading to the config-php setup. (I’ll holler back if the trail dead-ends :) )
    Thought you might want to amend your guide with a note about this possibility for some users so as to save them the confusion and frustration I’ve had the past half hour. Might have something to do with my using Vista64, I’m not sure.

    Thanks again and for your nice email when I signed up.

  29. Markus says:

    Thanks for this nice tutorial. Its really helpful, and works like a charme to set up.
    The skype addition about the port issue with wamp helped me also – sometimes wamp just wouldn’t work and I didn’t know why. (I’m using skype just once in a while..)

    I’ve got another question though: How to move a live website to localhost for development.

    I’m not really sure how to go about it. Copy everything (including db) and change the settings in the config file of wordpress. or install wordpress and then migrate the database somehow, and add the other special content…

  30. Samuel says:


    But I have an issue. After installation, I got a prompt “The program can’t start because MSVCR110.dll is missing from your computer, Try reinstalling the program to fix the problem”

    What do I do?

    • Dev Enthusiast says:

      Hi Samuel,

      The error that you received can be fixed by downloading and installing the following from Microsoft:
      Visual C++ Redistributable

      Give that a try!

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.