Install Local WordPress Environment on Windows

WordPress is one of most popular blog applications. This application is very easy to use however setup a local environment for theme or plugin development on windows system is not that easy for bloggers. In this post, I will walk thru you how to setup local WordPress environment using Microsoft Web Platform Installer 2.0 with just a few clicks. (I am using 64bit Windows 7 in this tutorial but same steps work windows server 2008 as well)

1. Install latest Web Platform Installer 2.0 from Microsoft download site

2. Launch Web Platform Installer 2.0, click Windows Application tab and check WordPress, the PHP option will be automatically selected

Web Platform Install Launch

The cool thing here is that Web Platform Installer 2.0 is smart enough to know all the dependencies for WordPress and it will automatically download and install all the required components for you. Take my Win7 system as example, Web Platform Installer will download and install MySQL 5.1 and PHP 5, it also configures IIS settings prior to WordPress installation.

3. Click Install to start the installation.

Web Platform Install Installation

4. Input root password for MySQL administrator when you are asked to.

Web Platform Install MySQL

5. Web Platform Installer will download and install all necessary dependencies seamlessly.

Web Platform Install Install PHP

6. Once Installation is done, Web Platform Installer will ask your input for an one time site configuration.

  • In Step 1, Web Site drop down,
    • If Default Website is selected, Web Platform Installer will create local WordPress site using http://localhost/wordpress
    • If New Website is selected, Web Platform Installer will create local WordPress site using http://localhost/
  • In step 2, you can get security keys for for Unique Key for Passwords, Unique Key for Secure Passwords, Unique Key for Authentication, Unique Key for Secure Authentication.

Web Platform Install Site Information

Web Platform Install App Information

7. Click Continue and now you should see a WordPress installed successfully screenshot:

Web Platform Install Complete

8. Click Launch WordPress link and you will see the famous file minute WordPress installation process. Have fun!

Web Platform Install WordPress homepage

3 thoughts on “Install Local WordPress Environment on Windows”

  1. Hi, thanks for ur sharing about this. I have successfully installed the web platform 2.0 on on windows 7 pro 64bit, and installed the wordpress. But why i install two of them is not for develop the wordpress, but for the MediaWiki, so when I configured the IIS for MediaWiki in iis management toos, i encountered a fool problem:

    The MediaWiki installer asked me about the following which i felt a little confused:

    Database type: I chose MYSQL
    Database host: I filled “localhost”
    Database name: ~~~here i didn’t what to fill, because i thought i have not created that database? so what should i do about this and the following questions about “DB username” and “DB password”?

    Because the smart MS web platform configured everything when it installed the wordpress, but what should i do if i install a third-party application suck like MediaWiki?

    Thanks in advance.

  2. Not sure if I understand your question correctly. Are you saying the reason you wanted to install WP locally is MediaWiki has a dependency on it? Anyway, If you are looking for WP database connection information, you can find them in wp-config.php file under your site root folder, search DB_USER.

  3. Hello,
    I was wondering if you (or someone reading this) would be available to help me successfully upload WordPress to my customer’s website/server once I get this configured the way I want it on this localhost install?

    I use Microsoft’s Expression Web product for web development.


Leave a Reply

Your email address will not be published.