Re: Win2K IIS 5 CGI Behavior Error on simple page.
| From: | JayAchTee | Date: | Wed, 23 May 2001 17:23:30 +0000 |
| Subject: | Re: Win2K IIS 5 CGI Behavior Error on simple page. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7889@lists.php.net to get a copy of this message | ||
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@nospam-unicity.net> wrote in message
news:9dbot0$mbn$1@toye.p.sourceforge.net...
> 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@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>