Installing a VAMP server (Vista Apache MySQL PHP)

Sep 13
2007

There are some minor challenges to install Apache/PHP/MySQL on Vista (shoulda’ bought another Mac, I know, I know, I need a windows machine too). I just used the installers I didn’t want to mess with compiling from source.

I don’t know why I always install the 3 applications in this order but it seems to go well for me.

Apache Download:

  1. Load the Apache download page in your browser.
  2. Under the heading: Apache HTTP Server 2.2.6 is the best available version click the link Other files
  3. Browse to: /binaries/win32/ in the directory structure, and download the version you require

PHP download:

  1. Browse to the PHP download page and download the latest and greatest Windows installer.

MySQL download:

  1. Browse to the MySQL download page and choose the flavour that’s right for you (probably Windows ZIP/Setup.EXE (x86))

Rinse and Repeat

Follow the steps below for each installer and all will work out well for you. If you have any problems during install go back and follow the steps again but click ‘repair’

  1. Because of the M$ ‘security features’ you have to run the installer as an Administrator (see post coming soon on this little gem :-| )
    1. Open the start menu and right click the Command Prompt icon, click “Run as Administrator”
    2. Change directories to the location of the installer, type the installer file name (hint: start typing then hit tab), hit enter.
    3. Follow the installation instructions as normal
  2. Repeat for next installer!

Hopefully after this you will have a working copy of each application. as far as setup…that’s a different beast, and there are lots of posts and books on that elsewhere, and I tire of typing.:) One hint though you will have to edit the httpd.conf file though the “Administrator” command window or open your favorite editor as administrator to edit the file.