I installed PHP on a Windows 2K server with IIS using ISAPI. I can run a straight PHP script like test.php, but it does not run a simple embedded PHP script in html code (test.html).
You need to configure IIS to send HTML files through PHP as well, though this will decrease your overall site speed a little. What many people do is use a different file extension for pages which are primarily HTML but have php code too (i.e. ".phtml". I personally don't see a reason for this. If your document has php code in it, just give it a ".php" extension.
As far as the actual configuration, I know NOTHING about IIS. There are instructions for installing PHP with IIS in the "install.txt" file included with the PHP binaries. I think it's some registry settings for ".php" files. You could just make a new registry entry in that case.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.