| Author |
PHP 5.2.3 CLI Issue on Windows 2003
|
|
| Rowe, Dolores A 2007-06-18, 7:00 pm |
| > Hi there,
>=20
> I've upgraded from PHP 5.0.4 to PHP 5.2.3, but cannot get the CLI
> interface to work.
>=20
> When I test with a simple file, it echoes the content of the file
> rather than
> performing the phpinfo( ) command.
>=20
> I am not sure how to debug.
>=20
> 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
>=20
> G:\wwwroot\CIDS_Wiki>php test.php
> <? phpinfo(); ?>
>=20
> tanx,
> Lori
>=20
> Lori (Dolores) Rowe
> Web Administrator / InstallShield Support
> Software Engineering Tools and Environments
> Boeing
> (314)882-8784
>=20
| |
|
|
|
|
|
|
|
|
| Pieter du Toit 2007-09-07, 7:01 pm |
| 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@boeing.com> wrote in message
news:87031C09CBA47943A9A1E67DF0D642D5015
5C4D5@XCH-MW-4V2.mw.nos.boeing.com...
> 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
>
|
|
|
|