OK, I just spent a day trying to set up PHP on Windows 2003 with IIS and SQL Server. Ugh. Not fun. So that people who come across don’t have to repeat, this is what I did… I think:
php.iis.net – just straightforward install
In IIS – adjust web services extensions so that php-cgi is visible
In IIS – adjust mapping so that .php maps to php-cgi
install new SQL PHP driver from here: http://www.microsoft.com/downloads/details.aspx?FamilyId=61BF87E0-D031-466B-B09A-6597C21A2E2A&displaylang=en and follow directions to install
I also added some MS SQL-related stuff in the PHP installation features, but I don’t think it made a difference.
So, as Danitza would say: PHP – suck it.