I am a developer who attempting to write my first web based app. I have been trying to get Vista (service pack 2), IIS 7, PHP, MySQL environment up for two days now and the imprint of the brick wall on my forehead is in danger of becoming permanent. I have followed the process as described on a number of sites to activate IIS, install PHP and MySQL and then get into the setup process. I can browse to http://localhost and see the default IIS page, so ISS seems to be running. I can run php -info in the command prompt so that seems to be there. I have installed FastCGI and done the the Handler Mapping stuff and made sure that the FastCGI handler is first in the list. I have double clicked both the php.exe and php-cgi.exe out of frustration and both initially reported an error because ntwdblib.dll was not there, so it has been copied into the PHP folder. I have uninstalled everything and reinstalled it multiple times and rebooted many many times.
No matter what I do, whenever I point my browser at a .php file in the wwwroot directory, I simply get the code as text back rather than the PHP created page.
Can someone save my sanity?