Running LAMP on Windows Server 2008 - webcast and screencasts now available

ws2008 I don't know about you, but that title sounds odd to me.  Why on earth would you run the LAMP stack on Windows?  Well for one thing LAMP commonly refers to Linux, Apache, MySQL and PHP.  So running LAMP on Windows Server 2008 really means running it in a virtual machine and the only supported method for doing that at the moment is via SUSE Enterprise Server from Novell.  This was discussed in the webcast Running Open Source Software (OSS) on Windows Server with IIS7 that I delivered yesterday.

In order to take one or more open source applications to the Windows platform, you might choose the prudent and safe route.  First running the entire LAMP stack in a VM.  Next, you might decide to remove the L and run the AMP portions on Windows Server 2008.  That's where the meat of the webcast I did today really starts.  You'll see in the second webcast demo we install Apache.  Later we install PHP, MySQL then Drupal on top of all of that.

The purpose of the webcast is to highlight the migration and coexistence that is possible.  You don't have to totally tear down everything you know and love then replace it.  Windows Server 2008 will be happy to run Apache, MySQL and PHP.  If you decide to replace pieces of that solution over time, you can do so pretty easily and that is demonstrated in the webcast replay.

I decided to record a higher fidelity version of some of the demos and instead of using the Drupal software used in the webcast, I used a common blogging software product called Wordpress.  So here are the screencasts.

Part 1 - Installing PHP on Windows Server 2008 and IIS7 (length 8:51)

Downloading and installing PHP is pretty easy.  Testing that it is installed successfully is super easy via the phpinfo() function.  Learning to use PHP effectively is a little harder but the product has been around for years so there are a ton of books on using it with Linux or Windows.

Get Microsoft Silverlight

Part 2 - Installing MySQL on Windows Server 2008 (length 5:39)

MySQL is a popular database product used for a variety of applications on the Internet.  Just like Apache and PHP, MySQL can be installed and used on Windows Server 2008 as well.  In the linked webcast replay above I spent some time creating a table, inserting some data, the executing a query against the database to confirm it works. 

In this short screencast, we just go through the motions of installation, configuration, and creation of the database we'll use with the blogging software.  We'll know soon enough if we made any mistakes.

Get Microsoft Silverlight

Part 3 - Installing Wordpress on the Windows, IIS7, MySQL, PHP (length 5:13)

Wordpress is blogging software widely used on the Internet.  I actually have a Wordpress blog but I haven't posted anything to it in six months.  It's part of the hosting plan we use for my wife's websites so you'll likely run across it in your hosting adventures.  One of the reasons it's so popular is because it's so easy to install and customize.  Check out the screencast below. See what I mean?

Get Microsoft Silverlight

There were several important points made in the webcast.  You should consider downloading it and watching the entire 90 minutes when you have some spare time.  I think you'll find that there are some nuggets of information there that you may now be aware of.  Like:

  • Apache runs really well on Windows Server 2008
  • MySQL runs really well on Windows Server 2008
  • PHP runs really well on Windows Server 2008
  • You can replace Apache with IIS7 and the applications will hardly notice
  • All of the above runs really well on Windows Server 2008 Core.
  • Migration is easy but not perfect so as always, test, test, test
  • IIS7 stores a lot of configuration data in XML and is easily edited like Apache, but unlike Apache, picks up the changes dynamically without a restart
  • And lots more!!!