Re: Help! No output from PHP CLI
| From: | Matthew Sims | Date: | Wed, 20 Oct 2004 05:01:52 +0000 |
| Subject: | Re: Help! No output from PHP CLI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199848@lists.php.net to get a copy of this message | ||
> Hi all,
>
> I'm having a strange problem with command line PHP. Scripts seem to
> function fine, however with no output.
>
> wg@vandenberg:~> php
> <? echo "moocows\n"; ?>
> ^D
> wg@vandenberg:~>
>
> However works fine on another machine with a seemingly identical php.ini
>
> wg@houston:~> php
> <? echo "moocows\n"; ?>
> ^D
> moocows
> wg@houston:~>
>
> Any ideas or suggestions greatly appreciated.
>
> Regards,
>
> --
> Warren Guy <warren.guy@fhnetwork.com>
> System Administrator, Family Health Network
> Phone: +61 8 9389 8777 Fax: +61 8 9389 8444
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Isn't there a --enable-cli option when compiling PHP for command line? If
so, was that included as part of the install?
I saw this site:
http://www.devarticles.com/c/a/PHP/PHP-CLI-and-Cron
--
--Matthew Sims
--<http://killermookie.org>