473,503 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS + PHP -- Worker Process alert & w3wp.exe crash?

Hi all,

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?

Many thanks, -Scott
Nov 27 '07 #1
10 3047
"turnstyle" <tu*******@gmail.comwrote in message
news:bd**********************************@l1g2000h sa.googlegroups.com...
Hi all,

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?
This issue actually goes all the way back to the first days of IIS and
ActiveX.
PHPxISAPI.dll is an ActiveX control - with all the pitfalls thereof.
Any changes to your configuration at all, and you have to shut down your IIS
service and restart it.
Worse, sometimes those changes can require you to have to reboot the OS
itself.

This kind of badness is one reason why the folks at PHP.net do not recommend
Windows for a production environment.


Nov 27 '07 #2
Does PHP5 simply not work right on IIS7? (that would be news to me!)

Does *anybody* have PHP working on IIS7 without these "IIS Worker
Process has stopped working" alerts and the "Faulting application
w3wp.exe" events in the Event Viewer?

Thanks! -Scott
Nov 28 '07 #3
turnstyle wrote:
Does PHP5 simply not work right on IIS7? (that would be news to me!)

Does *anybody* have PHP working on IIS7 without these "IIS Worker
Process has stopped working" alerts and the "Faulting application
w3wp.exe" events in the Event Viewer?

Thanks! -Scott
Nope, I never use a MS product until it's been out at least two years.
And not necessarily then.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 28 '07 #4
Nope, I never use a MS product until it's been out at least two years.
And not necessarily then.
Thanks, though I'm actully looking to find somebody that *is* running
PHP on IIS7 -- I'll try posting that question as a fresh thread.
Nov 28 '07 #5
turnstyle wrote:
>Nope, I never use a MS product until it's been out at least two years.
And not necessarily then.

Thanks, though I'm actully looking to find somebody that *is* running
PHP on IIS7 -- I'll try posting that question as a fresh thread.
The point is - I don't know of anyone who's even trying it. And from
your searching, it looks like a lot of others have had problems, also.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 28 '07 #6
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:_p******************************@comcast.com. ..
turnstyle wrote:
>>Nope, I never use a MS product until it's been out at least two years.
And not necessarily then.

Thanks, though I'm actully looking to find somebody that *is* running
PHP on IIS7 -- I'll try posting that question as a fresh thread.

The point is - I don't know of anyone who's even trying it. And from your
searching, it looks like a lot of others have had problems, also.
This is why PHP.net does not endorse PHP on a Windows platform for
production environments.
While it's *possible* to get past this problem in a dev environment, through
restarts and reboots, those are not acceptible practices in a production
environment.

Nov 28 '07 #7
Sanders Kaufman wrote:
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:_p******************************@comcast.com. ..
>turnstyle wrote:
>>>Nope, I never use a MS product until it's been out at least two years.
And not necessarily then.
Thanks, though I'm actully looking to find somebody that *is* running
PHP on IIS7 -- I'll try posting that question as a fresh thread.
The point is - I don't know of anyone who's even trying it. And from your
searching, it looks like a lot of others have had problems, also.

This is why PHP.net does not endorse PHP on a Windows platform for
production environments.
While it's *possible* to get past this problem in a dev environment, through
restarts and reboots, those are not acceptible practices in a production
environment.

Recommend or not, I've got it working fine on IIS 5 and 6 - the latter
being a production server (still has .ASP code so we can't go to Apache).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 28 '07 #8
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:xI******************************@comcast.com. ..
Sanders Kaufman wrote:
>While it's *possible* to get past this problem in a dev environment,
through restarts and reboots, those are not acceptible practices in a
production environment.

Recommend or not, I've got it working fine on IIS 5 and 6 - the latter
being a production server (still has .ASP code so we can't go to Apache).
That's the funniest part of Microsoft's last 10 years.
The old stuff works MUCH better than the .NET crap.

I evangelized the crap out of ActiveX, much to my shame.
But I can't even *pretend* to advocate .NET.
It works bad enough with itself, but is downright *horrible* with
third-party stuff.


Nov 28 '07 #9
Thanks Jerry,

It seems this problem dates back to IIS6 (see http://bugs.php.net/36853).

Question: are you running PHP via ISAPI?

(and thanks again)
Nov 28 '07 #10
turnstyle wrote:
Thanks Jerry,

It seems this problem dates back to IIS6 (see http://bugs.php.net/36853).

Question: are you running PHP via ISAPI?

(and thanks again)
Yep. But I'm not seeing the problem referenced by the bug.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 28 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1960
by: Jesper | last post by:
Im running Windows Server 2003 trying to get my ASP.NET applications to access the file system. My Web application needs to have write access to some folders in the virtual directory from which...
9
23055
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
6
2881
by: pradeep_TP | last post by:
Hi all, I am using IIS 5.0 and this question is regarding working of ASP.net worker process. I have only one web application right now on my web server. This means that only one AppDomain will...
0
954
by: Trevor Turner | last post by:
We have upgrading an existing ASP.NET 1.1 We application to ASP.NET 2.0 using the migration tool. While we had no problems with IIS Worker Process Threads with the 1.1 version, as soon as we did...
0
2115
by: Rabbit | last post by:
Dear All, I have recently using ASP.net 2.0 to build web application with Crystal Report for .net, one of my typical coding to generate report on web page as follows: Dim rpt As New...
2
1810
by: Bhuwan Bhaskar | last post by:
Hi, Can anyone explain me about what is a worker process in ASP.net. Thanks and Regards, Bhuwan
0
1742
by: ToadLurker | last post by:
Usually, to debug my .NET dll, I typically just run my web application until the DLL in question is invoked - at which point I can just attach to it via Visual Studio .Net, and debug it. Two weeks...
4
3220
by: Brian Gideon | last post by:
I'm having a problem with the amount of time it takes to initialize an application pool on IIS 6.0. Upon the first request to an ASP.NET page the worker process (w3wp.exe) starts up. The problem...
1
5066
by: wojski696969 | last post by:
Hi.. i've got the serious problem.. In my ASP.NET 2.0 application I'm using COM dll file referenced by interop dll. I'm using few properties from in one of the objects made from this library...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7074
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7322
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4667
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.