From: Brad Baker on
I'm trying to get PHP 5.1.4 (ISAPI) running on my Windows 2003 R2 IIS6
server. I dutifully followed all the instructions at:



http://www.php.net/manual/en/install.windows.manual.php

http://www.php.net/manual/en/install.windows.iis.php



The problem is that when I go to run a sample PHP page (containing <?php
phpinfo(); ?>) I am getting "Service Unavailable". After troubleshooting
this a bit it appears that the DefaultAppPool is stopping as soon as a PHP
page is accessed.



I'm also getting the following entries in my event logs:



Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1002
Date: 5/18/2006
Time: 1:33:06 PM
Description:
Application pool 'DefaultAppPool' is being automatically disabled due to a
series of failures in the process(es) serving that application pool.



Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1009
Date: 5/18/2006
Time: 1:33:06 PM
Description:
A process serving application pool 'DefaultAppPool' terminated unexpectedly.
The process id was '3568'. The process exit code was '0xffffffff'.


I'm pulling my hair out trying to figure out what the problem is. Is this a
PHP problem or an IIS issue? I searched Google and was able to find the
following message board post:
http://www.phpbuilder.com/board/showthread.php?t=10305876. I tried the steps
suggested but it didn't seem to fix the problem.



Has anyone else encountered this problem or have any ideas what might cause
it?



Thanks

Brad




From: Brad Baker on
I've tried a slew of different PHP versions both the ISAPI and CGI -
manually installing and using the automated installer. Nothing works.

The same thing works fine on a Windows 2003 R1 IIS6 box. So it seems like
there must be something different between Windows 2003 R1 and R2 IIS. I just
wish I could figure out what it is! :-)

Brad


"Brad Baker" <brad(a)nospam.nospam> wrote in message
news:e90mqMqeGHA.3456(a)TK2MSFTNGP05.phx.gbl...
> I'm trying to get PHP 5.1.4 (ISAPI) running on my Windows 2003 R2 IIS6
> server. I dutifully followed all the instructions at:
>
>
>
> http://www.php.net/manual/en/install.windows.manual.php
>
> http://www.php.net/manual/en/install.windows.iis.php
>
>
>
> The problem is that when I go to run a sample PHP page (containing <?php
> phpinfo(); ?>) I am getting "Service Unavailable". After troubleshooting
> this a bit it appears that the DefaultAppPool is stopping as soon as a PHP
> page is accessed.
>
>
>
> I'm also getting the following entries in my event logs:
>
>
>
> Event Type: Error
> Event Source: W3SVC
> Event Category: None
> Event ID: 1002
> Date: 5/18/2006
> Time: 1:33:06 PM
> Description:
> Application pool 'DefaultAppPool' is being automatically disabled due to a
> series of failures in the process(es) serving that application pool.
>
>
>
> Event Type: Warning
> Event Source: W3SVC
> Event Category: None
> Event ID: 1009
> Date: 5/18/2006
> Time: 1:33:06 PM
> Description:
> A process serving application pool 'DefaultAppPool' terminated
> unexpectedly. The process id was '3568'. The process exit code was
> '0xffffffff'.
>
>
> I'm pulling my hair out trying to figure out what the problem is. Is this
> a PHP problem or an IIS issue? I searched Google and was able to find the
> following message board post:
> http://www.phpbuilder.com/board/showthread.php?t=10305876. I tried the
> steps suggested but it didn't seem to fix the problem.
>
>
>
> Has anyone else encountered this problem or have any ideas what might
> cause it?
>
>
>
> Thanks
>
> Brad
>
>
>
>


From: "WenJun Zhang[msft]" on
Hi Brad,

There are 2 modes for PHP to be deployed on IIS, i.e: CGI mode and ISAPI
mode. Have you tried both of them? If ISAPI mode doesn't work, I think you
can give php.exe (CGI mode) a try.

Please refer to:

http://www.visualwin.com/

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.



From: Brad Baker on
WenJun -

As previous posts indicated I tried both CGI and ISAPI modes - neither
worked. I ended up removing IIS and reinstalling it and then reinstalling
PHP. That seemed to "fix" the problem. I'm not sure what the original
problem was though.

Thanks,
Brad


""WenJun Zhang[msft]"" <wjzhang(a)online.microsoft.com> wrote in message
news:IemVzPxeGHA.220(a)TK2MSFTNGXA01.phx.gbl...
> Hi Brad,
>
> There are 2 modes for PHP to be deployed on IIS, i.e: CGI mode and ISAPI
> mode. Have you tried both of them? If ISAPI mode doesn't work, I think you
> can give php.exe (CGI mode) a try.
>
> Please refer to:
>
> http://www.visualwin.com/
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>


From: "WenJun Zhang[msft]" on
Brad,

Glad to hear the problem has been resolved. Have a nice day.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.



 | 
Pages: 1
Prev: IIS won't start
Next: IIS State Log Help