Re: php5 on IIS6 (CGI Error)

From: Date: Tue, 08 Jul 2003 13:53:58 +0000
Subject: Re: php5 on IIS6 (CGI Error)
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-11251@lists.php.net to get a copy of this message
. Ma schrieb:
hi! i'm running a test-server with windows 2003 and IIS6 i managed to get PHP 4.3.2 running without any problems. but i wanted to try php5 so i downloaded the zipped version renamed c:\php to c:\php4 and extracted everything to c:\php (so that the old php.exe is "replaced" by the new one) for the old version everything worked fine - but now i get the following error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. did somebody experience similar problems? is this only because its a beta or is this a configuration-problem? thx in advance, matthias i've not too much to do with iis6 but have you tryed to send some headerdata with header()
i think i'v heard something that the cgi version of php5 doesn't send the default_mimetype, try to use the following on your script at the beginning, <? header("Content-Type: text/HTML"); ?>

« previous php.install (#11251) next »