I’m trying to set up my first Vista/IIS7 box with PHP5 — in IIS7 I mapped the current php5isapi.dll.
I’ve noticed that if I simply open a PHP page (it works), when the IIS application pool later recycles (either timed or forced), I get an “IIS Worker Process has stopped working” alert, and a “Faulting application w3wp.exe” event in the Event Viewer.
Is there a way to fix that? (Other folks seem to have the same problem, but I can’t seem to find a solution.)
Is *anybody* here running IIS7/PHP without this problem? Alterntively, do others here have the same problem?
Same poster 26 hours later:
I think I found it…
if I open:
IIS Manager > DefautAppPool > Advanced Settings
Process Model > Identity
from NetworkService to SpecificUser
and enter my credentials in:
Identity SpecificUser Credentials
The problem stops
I wonder is running the CGI/FastCGI interpreter will run into the same problems as those of the ISAPI filter described above… Speaking of FastCGI, IIS.Net has a fairly detailed tutorial on configuring PHP as FastCGI on IIS 5.1 and 6.0. Chances are, most of it is applicable to IIS 7 as well…