I had a similar problem a while back, and it turned out that short tags was
disabled in the ini file.
To test this you can use:
<?php
phpinfo();
?>
Hope it helps
""Rowe, Dolores A"" <dolores.a.rowe@xxxxxxxxxx> wrote in message
news:87031C09CBA47943A9A1E67DF0D642D50155C4D5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi there,
>
> I've upgraded from PHP 5.0.4 to PHP 5.2.3, but cannot get the CLI
> interface to work.
>
> When I test with a simple file, it echoes the content of the file
> rather than
> performing the phpinfo( ) command.
>
> I am not sure how to debug.
>
> G:\wwwroot\CIDS_Wiki>php -ver
> PHP 5.2.3 (cli) (built: May 31 2007 09:37:22)
> Copyright (c) 1997-2007 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
>
> G:\wwwroot\CIDS_Wiki>php test.php
> <? phpinfo(); ?>
>
> tanx,
> Lori
>
> Lori (Dolores) Rowe
> Web Administrator / InstallShield Support
> Software Engineering Tools and Environments
> Boeing
> (314)882-8784
>
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]