Beware this content is over 4 years old and considered stale. It may no longer be accurate and/or reflect the understanding of the author but remains here for reference only. Please keep this in mind as you use this content.

I’ve recently been involved in setting up a Windows Server 2003 Virtual Private Server (VPS) to host a website and I’ve had a few thoughts I want to note down.

My hosting platform of preference is without a good ol’ LAMP stack. Opting for Ubuntu if I’m given the choice.

Setting up a good website hosting platform using Ubuntu couldn’t be easier. I can do it all from the command line using a combination of SSH and SCP and more then a few apt-get commands.

Every now and then we have to handle a Windows (WAMP) stack setup.

This particular one experienced a fault on the server (unrelated to the website!) which after being fixed meant we needed to restore data from a backup extracted by the SysAdmin.

Part of this process involved re-configuring the server from scratch.

Having not done this in a while and having to deal with the challenge of installing the latest and greatest versions of both Apache (2.2.22), MySQL (5.5.25) and PHP (5.3.14) - I came up against a few interesting setup quirks.

So for the sake of posterity and in case I need to do it again (or if someone else has a similar problem), I thought I would include some information here.

Related posts:

  • Default date.timezone when using the PHP mail() function on Windows. (artofsimplicity)
  • Restore from a MySQL InnoDB backup on Windows (artofsimplicity)

Again keep in mind that these fixes are Windows specific. Largely because I found plenty of help trying to do the same of various *nix flavoured platforms.