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"" <[EMAIL PROTECTED]> wrote in message
9dbot0$mbn$[EMAIL PROTECTED]">news:9dbot0$mbn$[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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows 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