Recently I upgraded to Vista Home Premium and am trying to get PHP working with IIS 7.0. The Installer fails when it try's to register IIS with PHP so I have to do it manually, which is not very easy.
I followed this tutorial posted by our friend David Wang:
I know what the problem is, I'm missing the ISAPI module, but I am very new to IIS and have no idea how to get it. I see places where you can add these modules but they all ask for a file path so I'm a little confused on what I need to do. Can anyone clarify this matter for me, or help me figure out what I am missing and what I need to do? Thanks.
you need to add the extension in IIS for php and point it to the php5sapi.dll file (usually in c:\php).
you should also copy your php.ini file to your windows folder and delete all other instances of the php.ini file.
with IIS 6 (win 2k3) you have to add the extension outside of just the properties for your web site. I assume that the new version of IIS (with Vista) is the same.
Burrito wrote:you need to add the extension in IIS for php and point it to the php5sapi.dll file (usually in c:\php).
you should also copy your php.ini file to your windows folder and delete all other instances of the php.ini file.
with IIS 6 (win 2k3) you have to add the extension outside of just the properties for your web site. I assume that the new version of IIS (with Vista) is the same.
That's not my problem, read my post again. My problem is I don't know how to add the ISAPI module so that IIS can work with php5isapi.dll.
I'm not sure where you're talking about. IIS 7.0 does look a lot different than 6.0, everything is more organized. Could you be a little more specific in what I have to change to add the module and maybe I can find it.
I haven't seen the new version of IIS...I was basing my suggestions on previous versions of IIS with the assumption it's not much different. I will look tonight when I get home at vista's IIS and see if I can figure it out for you.
Burrito wrote:I haven't seen the new version of IIS...I was basing my suggestions on previous versions of IIS with the assumption it's not much different. I will look tonight when I get home at vista's IIS and see if I can figure it out for you.
Well I have a section labeled "Modules" that lists all the registered modules but I do not see any ISAPI which makes sense since I am getting that error. I can add either a "Managed Module" or "Native Module", I'm not sure what Managed is, but Native gives me a list of a few modules not registered, but ISAPI is not in that list either. It gives me a option of registering a new module and asks for a name and then a file path. That's about all I can find related to my issue.
you need to make sure you have the isapi extension component installed with IIS.
it is under world wide web service -> application development features
Can you tell me where you found this because I do not see it anywhere.
You need to go to Control Panel->Programs and features->Turn Windows features on or off
then go to Internet Information services and select isapi extensions under web services->application development features