Windows Vista and a web developer (Installing Apache, PHP and MySQL)

For the past couple of days I migrated to Windows Vista Ultimate and I was struggling to set up everuthing like I want to so I can resume work on my project. The installation was smooth, my programs installed correctly, Photoshop CS2 and Notepad++ all work just fine. So when it was time to install Apache2, PHP and MySQL I was wondering if there was going to be a problem with Vistas’ new security features. And there was. Vista will not let the installers to set up Apache as a service.

So after “a few” failed attempts I thought to try to install PHP on IIS7 which is bundled with Vista. A little Googling later and I found two very good blog entries with step by step instructions.

Firstly there is Blond R’s post which walks you through every step of the installation process, including MySQL for both 32 and 64 bit versions. If for any reason something goes wrong and you can’t get things to work check out Can Erten’s post which has some further steps including permission changes and ISAPI and CGI restrictions.

After reading the above posts you should be able to set everything up correctly. So off to work again…

Update: I have managed to install XAMPP under Vista. The User Account Control (UAC) in Vista causes problems with the installation. If you disable UAC the installation is completed successfully and everything works ok. ;)


About this entry