ID:               9852
 Comment by:       stuart at gnqs dot org
 Reported By:      ron dot baldwin at sourceprose dot com
 Status:           Closed
 Bug Type:         IIS related
 Operating System: Windows 2000
 PHP Version:      4.2.1
 New Comment:

I'm not sure why the PHP group haven't already done this themselves (I
will ask Wez when I see him next week ;-), but anyway.  I have bug#
SRQ040206601696 open with Microsoft about this problem.



>From the analysis I've done so far (net trace of HTTP packets between
IE and IIS, ISAPI filter to do what tracing I can inside IIS, tracing
code added to PHP 4.3.5-rc1), the evidence comes down to this.  When
this error occurs, there's no evidence of php.exe being executed - for
the repeatable test case that I have.  What I can't *prove* (which is
partly why I've opened the bug w/ Microsoft) is whether IIS actually
tries to call php.exe or not.



Best regards,

Stu


Previous Comments:
------------------------------------------------------------------------

[2004-02-10 19:14:35] willy at vuboys dot nl

I also have experienced this problem. The PHP_ISAPI seems to fix it.



It seems this problem is related to a mssql connection. A solution
might be to add a header() at the beginning of the script (before the
mssql_connect). Is there a header of some kind which won't interfear
with the other headers the application might produce? Any
thoughts/comments on this?

------------------------------------------------------------------------

[2003-09-15 16:40:08] bobberz03 at hotmail dot com

Was pulling my hair out with this!! Installing ISAPI module did it for
me, none of the other fixes worked (did NOT try slowing anything down
to get it working or messed with Background/foreground settings as this
defeats the object..and some time in the future will reoccur neway!! I
have created other appz using the CGI interpretor but havent tested
them with the ISAPI module as yet, this is the first app I'm creating
using MSSQL2000. I know its been stated above that it is IIS but I have
never had this problem b4 until switching to MSSQL2000 (previously
MySQL). Cheers for all the help chaps.



BoB

------------------------------------------------------------------------

[2003-06-11 09:52:20] wharrison at pro dot ie

To follow up I set cgi.rfc2616_headers = 1 as Pedro suggested and have
had no problems reported since. So I suggest trying this to anyone with
these problems.

------------------------------------------------------------------------

[2003-05-28 08:50:36] wharrison at pro dot ie

I am trying Pedro's cgi.rfc2616_headers = 1 tip. We noticed this
problem a few times a day on an WinNT, IIS, PHP 4.3, MSSQL 2000 setup.
I could also reproduce this with the bounce.php suggested a while ago.
I was cosidering switching to Apache untill I read the post above.

------------------------------------------------------------------------

[2003-05-22 13:21:17] phpbugs at spudland dot com

This is not just an IIS bug.



I receive this bug on a production Win2K server that uses Apache 2.0.x
and PHP as a CGI. The PHP script in question does not use re-directs,
however it does add header information.



When I comment out the MS-SQL commands, the error disappears. With
MS-SQL commands uncommented, it serves up a storm of these errors.



I will try the RFC option mentioned above my comment! Again, this bug
appears to NOT be related to just IIS but rather the MS-SQL support.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/9852

-- 
Edit this bug report at http://bugs.php.net/?id=9852&edit=1

Reply via email to