You are here: Re: CGI-error and IIS « PHP Programming Language « IT news, forums, messages
Re: CGI-error and IIS

Posted by spark on 11/14/44 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? :)

Bump.
So looking at all these replies :) there are a few possible conclusion:
-Nobody knows;
-Nobody cares;
-Nobody has site site on an Windows-based platform;
-Nobody has encountered this problem.
Maybe a few more.
So assuming the first 3 can't be true, I take it then, that the old problem
is solved in PHP 5.1.4?
If that is the case, then why are these errors occuring?

Imagine having a website with about 10% of the hits returning a 502. I've
had that a few days back. This is just disastrous....
Things are more stable now, but I am worried.
So let's be more specific.
On almost every page I have:

<?php ob_start("ob_gzhandler"); ?>

I have a stylesheet page called styles.php with the header:
<?php header("Content-type: text/css; charset=UTF-8"); ?>
Called from every page with:
<link rel="stylesheet" type="text/css"
href="http://www.mydomain.com/stylesheet.php?pageID=<?php echo $pageID; ?>">
$pageID is a variable with which I determine which colors to use. These data
are stored in MySQL.
Any flaws in this?

Thanks voor your thoughts.

Spark.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация