Re: [PHP-WIN] Win2K IIS 5 CGI Behavior Error on simple page. From: JayAchTee (john.thompson <email protected>)
Date: 05/23/01

Use PHP from the command line to get the output of the script into a HTML
file and take a look at it with notepad and the browser. Try this:
"c:\php\php.exe <test.php >test.html". You can omit the path to php.exe if
the folder is in the system PATH variable.

Regards,

John Thompson

""ECHJR"" <edward <email protected>> wrote in message
news:9dbot0$mbn$1 <email protected>
> Arghh.. I appreciate help from anyone on this one. I have a new install
of
> PHP4.5 on my IIS 5 machine with Windows 2K. The install went fine..
When
> I go into a command prompt and type c:\php\php.exe -i
> I get the HTML junk, which is good. But... When I try and send a simple
> test page with a PHP version information tag in it, I get the good old
"CGI
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are: <Blank Area>
>
> Now I have seen this error before. I have verified permissions on the
> relevant files.. Heck, I even set the web site to have administrator
> privileges just to test the possibility of some erroneous permission
error..
> Same problem. The "Check that file exists" is checked in the IIS setting,
> so that is cool.
> In my php.ini file, the only item I really changed from default was
> "extension_dir =c:\php"
>
> Is there something else in the PHP.ini file that I am missing???
Remember..
> This page I am trying to test is simply:
> <body>
> Hello
> <?php
> phpinfo();
> ?>
> </body>
>
> Please Help :)
>
> Ed
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
> For additional commands, e-mail: php-windows-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>