Re: Help! No output from PHP CLI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxx>
> 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>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux