Getting a Wordpress blog installed in a jiffy on Windows 7 using the Web Platform Installer

by Klaus Graefensteiner 19. February 2010 16:43

Introduction

This is the first installment of a series of blog post called the WIMPinator Chronicles that describe how to setup a PHP development environment for Windows 7 and IIS 7.5.

In this part we are taking advantage of a very cool tool called the Web Platform Installer.  With a few clicks you will be able to install and configure IIS7, PHP, MySQL and a Wordpress blog on your local Windows 7 computer.

Let’s get started

IIS is not enabled on a clean Windows 7 machine. There are two options to install and configure IIS. You can do it manually by using the Add/Remove Windows Features wizard or you can use the Web Platform installer. I am going to use the Web Platform Installer in this post.

AddWindowsFeatureIIS_2

Figure 1: IIS is not installed by default on Windows 7

Here are some detailed step-by-step instructions that will get a Wordpress blog running locally on Windows 7 using IIS 7.5

First Google for “Web Platform Installer”.

GoogleWebPlatformInstaller_2

Figure 2: Google Web Platform Installer

Choose the Microsoft link: http://www.microsoft.com/web/Downloads/platform.aspx

 GoogleResultsWebPlatformInstaller_2

Figure 3: Go do the Web Platform Installer download link

Click the download link to start downloading the Web Platform Installer tool.

WebPlatformInstallerHomepage_2

Figure 4: Web Platform Installer download link

After the download start wpilauncher.exe.

DownloadWebplatformInstaller_2

Figure 5: Run wpilauncher.exe

The Web Platform Installer provides a user interface to select individual packages for your specific web application needs.

HelloWPI_2

Figure 6: WPI Web Platform Installer

If you click on the option link in the lower left corner  (Figure: 6), then you will get even more advanced/developer options to select. You can use this option to access for example the Windows Azure tools.

WPIOptions_2

Figure 7: WPI Advanced options

The easiest way to get all the packages for PHP/MySQL development on IIS 7.5 is to select a web application like Wordpress from the Web Applications tab. The WPI will automatically include all packages that Wordpress needs in order to need to run on IIS.

WPIWordpress_2

Figure 8: Only select WordPress

Once you click the Install button, the WPI is showing the list of packages that is going to  be installed.

At this point in time the Web Platform Installer installs the following versions:

  • PHP 5.2.12 Non-Thread Safe VC6 binaries
  • MySQL 5.1 Windows Essentials
  • Wordpress 2.9.1

WPIInstallManifest1_2

Figure 9: Included packages page 1

WPIInstallManifest2_2

Figure 10: Included packages page 2

After you accept the license agreements for all the chosen packages the installation starts and asks you for the MySQL root password.

WPIMySQLRootPassword_2

Figure 11: MySQL root password

WPIDownloadMySQLAndInstallingIIS_2

Figure 12: Installation progress 1 – Installing the MySQL .NET connector

WPIDownloadPHP5.2.12InstallingIIS_2

Figure 13: Installation progress 2 – Downloading PHP 5.2.12

WPIFinishedDownloadingInstallingPHP_2

Figure 14: Installation progress 1 – Installing PHP 5.2.12

WPIInstallingMySQLEssential5.1_2

Figure 15: Installation progress 2 – Installing PHP 5.2.12

Once all the Wordpress pre-requisites are installed the wizard continues with the configuration of the Wordpress web application and IIS. The installer will create the IIS application and the virtual directory.

WPIConfigureWordpress_2

Figure 16: Configuring IIS for Wordpress

The next dialog asks for the Wordpress configuration parameters.

WPIWordpressConfiguration23_2

Figure 17: Wordpress configuration parameters

The installer finally completes, hopefully with success and displays a summary of the installed packages. Use the Launch Wordpress link to start your new Wordpress application instance.

WPISuccess_2

Figure 18: Web Platform Installer installation summary

Specify the name of your blog and your email address.

InstallWordpressBlog_2

Figure 19: Wordpress welcome page

Click the install button. Next, you should see the Success! page and see your automatically generated admin password. Take a note of this password.

WordpressBlogCreationSuccess_2

Figure 20: Wordpress install success page with admin password

Click the Log In button and use the admin password that Wordpress created for you.

WordpressLogin_2

Figure 21: First log in into Wordpress

Now you should see the admin dashboard and follow the red link to change your admin password.

WordpressBlogReady_2

Figure 22. Admin dash board and link to change your password

Go to your blogs front page. Done

WordpressBlogReady2_2

Figure 23: Front page of new Wordpress blog

Ausblick

It is very easy to setup a Wordpress blog on Windows 7 using the Web Platform Installer. In the next episode of the WIMPinator Chronicles I am going to look into what version of PHP got installed and how to add additional features and extensions to the core set that got deployed by Web Platform Installer.

Tags: , , , , ,

Php | Tips & Tricks | Wordpress | WIMPinator Chronicles | MySQL | IIS | FastCGI

Comments

3/1/2010 1:58:04 PM #

Pierre

The WebPi uses the VC6 version because PHP 5.2.x is only available as VC6 builds.

As of PHP 5.3 and later, we provide VC9 versions as well, which is the recommended version for NTS (works for all webservers using FastCGI). Apache can be used as well with the thread safe version using the apachelounge's builds available at http://www.apachelounge.com.

The WebPi uses PHP.net's installer (the msi files) and works to setup a IIS server with PHP. One can still use php.net's installer as well to configure Apache.

Pierre Germany |

Comments are closed

About Klaus Graefensteiner

I like the programming of machines.

Add to Google Reader or Homepage

LinkedIn FacebookTwitter View Klaus Graefensteiner's profile on Technorati
Klaus Graefensteiner

Klaus Graefensteiner
works as Developer In Test and is founder of the PowerShell Unit Testing Framework PSUnit. More...

Open Source Projects

PSUnit is a Unit Testing framwork for PowerShell. It is designed for simplicity and hosted by Codeplex.
BlogShell is The tool for lazy developers who like to automate the composition of blog content during the writing of a blog post. It is hosted by CodePlex.

Administration

About

Powered by:
BlogEngine.Net
Version: 1.6.1.0

License:
Creative Commons License

Copyright:
© Copyright 2014, Klaus Graefensteiner.

Disclaimer:
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Theme design:
This blog theme was designed and is copyrighted 2014 by Klaus Graefensteiner

Rendertime:
Page rendered at 9/19/2014 6:52:38 PM (PST Pacific Standard Time UTC DST -7)