« Previous Next »

Thread: Have FastCGI set up, but php5isapi is still being used...

Last post 07-04-2009 12:16 PM by optiontrader1138. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-04-2009, 1:02 AM

    Have FastCGI set up, but php5isapi is still being used...

    Hi everyone,

    We've been working for three days on trying to fix some issues related to our recent migration to IIS 7. This one has got us stumped.

    Our site is using both PHP and ASPX pages. We've installed FastCGI to serve our PHP pages, but it appears that php5isapi is still being used. We suspect this because we are getting errors such as the following in our event logs:

    "Faulting application w3wp.exe, version 7.0.6001.18000, time stamp 0x47919413, faulting module php5isapi.dll, version 5.2.9.9, time stamp 0x49dda26a, exception code 0xc0000005, fault offset 0x00002407, process id 0x508, application start time 0x01c9fc602c5c8290."

    Furthermore, we have this line in our <isapiCgiRestriction> section within applicationHost.config:

    <add path="C:\php\php5isapi.dll" allowed="true" groupId="" />

    My understanding is that if we are using FastCGI and our application pool is running in integrated mode, then this line should be ignored. However, if we remove it, then all of the PHP files on our site are no longer publicly accessible. Adding the line makes them reappear.

    Any advice from you IIS gurus would be greatly appreciated!

    -OT

  • 07-04-2009, 12:16 PM In reply to

    Re: Have FastCGI set up, but php5isapi is still being used...

    Ok, we solved the problem.

    It turns out the developer still had a reference to the ISAPI handler for PHP in their web.config. This overrode the global server settings.

     

Page 1 of 1 (2 items)