Here is a description on how to install PHP under Windows .Net Server ( IIS 6.0 )
I answered to a post in the windows newsgroup, but the right place of this should be
here.
If there is someone responsible for the file install.txt of the installation, feel
free to adpat this text and add it to the installation procedure section.
First of all the installer doesn't work because an ActiveX object used to configure
IIS is not present or not available when you try to install PHP.
- So download the zip file instead.
- rename/modify/copy php.ini to your C:/WINDOWS directory.
- copy the file php4ts.dll to C:/WINDOWS/SYSTEM32 ( required, I don't know why, it is
supposed to be used only if you use extension...but even without extensions it doesn't
work without it )
IIS 6.0 disable by default all the ISAPI extensions:
- go to the IIS management console panel
- You have 4 subsections, FTP sites, Application Pools, Web Sites and Web Service
Extensions
- Go to Web Service Extensions
- For the first try, Allow "All Unknown ISAPI extension" then you will be able to
create an entry for the PHP and juste allowing it, I didn't try it yet.
- go now in Web Sites, and do the classic extension mapping at the top level of your
web sites heirarchy
- in Home Directory, click on Configuration, and now add the [your
path]/php4isapi.dll file with the extension .php
- in Home Directory, allow Script and Executable or only Scripts
et voila ! You don't have to restart anything, it just work now.
Cedric.