ID: 12061
Updated by: phildriscoll
Reported By: [EMAIL PROTECTED]
Old Status: 
Status: Bogus
Bug Type: IIS related
Operating System: Win 2K
PHP Version: 4.0.6
New Comment:

Ok - you don't seem to want to read install.txt, so here's 
the relevant bit - please read and act on it:

 You have installed PHP, but when try to access a php 
script file via your
  browser, you get the error:
   cgi error:
   The specified CGI application misbehaved by not 
returning a complete set of
   HTTP headers. The headers it did return are:

   This error message means that php failed to output 
anything at all.
   From the command line hange to the directory containing 
php.exe. Run
   php.exe -i
   If php has any problems running, then a suitable
   error message will be displayed which will give you a 
clue as to what needs to
   be done next. If you get a screen full of html codes 
(the output of the
   phpinfo() function) then php is working ok.

   Once php is working at the command line, try accessing 
the php script via the browser again.
   If it still fails then it could be one of the following:

   file permissions on your php script, php.exe, 
php4ts.dll, php.ini or any php
   extensions you are trying to load are such that the 
anonymous internet user
   ISUR_<machinename> cannot access them.

   The script file does not exist (or possibly isn't where 
you think it is
   relative to your web root directory). Note that for IIS 
you can trap this error by ticking
   the 'check file exists' box when setting up the script 
mappings in the Internet Services
   Manager. If a script file does not exist then the 
server will return a 404 error instead.
   There is also the additional benefit that IIS will do 
any authentication required for you
   based on the NTLanMan permissions on your script file.

 Other problems
  If you are still stuck, someone on the PHP installation 
mailing list may be
  able to help you. You should check out the archive 
first, in case
  someone already answered someone else who had the same 
problem as
  you. The archives are available from the support page on 
www.php.net
  To subscribe to the PHP installation
  mailing list, send an empty mail to
  [EMAIL PROTECTED]
  The mailing list address is
  [EMAIL PROTECTED]

  If you want to get help on the mailing list, please try 
to be
  precise and give the necessary details about your 
environment
  (which operating system, what PHP version, what web 
server, if
  ou are running PHP as CGI or a server module, etc.), and
  referably enough code to make others able to reproduce 
and test
  our problem.


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

[2001-07-11 14:43:00] [EMAIL PROTECTED]

Installed using the Installshield package... install and go... but it doesn't...  what 
changes does it make that it should or that it doesn't...  what manually changes need 
to be made... other people posted the same question.. and have go no useful 
answers....  what need to be done so that it works?

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

[2001-07-11 14:34:22] [EMAIL PROTECTED]

Installed using the Installshield package... install and go... but it doesn't...

what changes does it make that it should or that it doesn't...

what manually changes need to be made... other people posted the same question.. and 
have go no useful answers....

what need to be done so that it works?

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

[2001-07-11 14:19:47] [EMAIL PROTECTED]

Your setup is just incorrectly configured. Please read the 
install.txt file for details of what you need to check. If 
you still have problems, post a query to the php-windows 
or php-install lists.


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

[2001-07-11 13:42:23] [EMAIL PROTECTED]

when using the simple script of :
<html>
<body>

<?php
$myvar = "Hello World";
echo $myvar;
?>

</body>
</html>

I get the following error:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP 
headers. The headers it did return are:

Noticed other are reporting same problems on the News Groups..

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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=12061&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to