I'm trying to install FastCGI on my server so that I can install the non-thread safe version of PHP 5.2.6. When I try to add the .php extension mapping from the command line using:
cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"c:\php\pgp-cgi.exe"
I get a "IIS does not seem to be installed" message. However, IIS6 is installed - I can acces it via the Internet Information Services Manager in Windows and I'm successfully running a few test sites in IIS.
The server is running on Windows Server 2003 Standard Edition SP2 and IIS6. I also tried it on a desktop pc running IIS 5.1 and Windows XP SP2 and got the same error. But then I also tried the above cscript command on a second Windows Server 2003 Standard Edition SP2 and IIS6 machine and it worked, so it's not bad syntax.
What is causing the "IIS does not seem to be installed" error and how do I overcome it?
Thanks.