|
Posted by Jerry Stuckle on 12/17/52 11:55
spark wrote:
> Version 5.1.4 on Server 2003 IIS.
> A virtual host.
> So I am getting these 502 errors with messages saying "The specified CGI
> application misbehaved by not returning a complete set of HTTP headers."
> These errors have been reported since 2001 or even earlier.
> My host says to wait for a stable version of PHP. Which is a silly thing to
> say IMO.
> My questions:
> - Is this still a known bug? Either in IIS or PHP even in V5.1.4?
> - Is there a workaround?
> - So I have stumbled across a delay function. The problem used to be timing
> related. Would that be effective?
> - Any other options or thoughts, except migrating to Apache? :)
>
> Thanks in advance!
>
> Spark.
>
>
I use the isapi version with Windows, and it works fine. I've been
using it since early PHP4, and have upgraded regularly (currently using
5.1.2). Used them on both W2K and W2K3.
If it's configured correctly, the only thing I've seen cause problems is
bad PHP code causing an abnormal termination of the PHP thread/process.
No, it shouldn't happen since PHP is interpreted, but it sometimes
does. And every time I've seen it happen it's been bad (invalid) code
that screws up the parser.
But again - I don't use the CGI version. It's performance isn't as good
as the isapi version, IMHO.
My suggestion - if it's not your code and your host can't get their end
working, find another host.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|