[kronolith] reminder
Jie Gao
J.Gao at isu.usyd.edu.au
Wed Sep 14 15:38:42 PDT 2005
On Thu, 15 Sep 2005, Jie Gao wrote:
> Date: Thu, 15 Sep 2005 08:02:34 +1000 (EST)
> From: Jie Gao <J.Gao at isu.usyd.edu.au>
> To: Jan Schneider <jan at horde.org>
> Cc: kronolith at lists.horde.org
> Subject: Re: [kronolith] reminder
>
>
>
>
> On Wed, 14 Sep 2005, Jan Schneider wrote:
>
> > Date: Wed, 14 Sep 2005 10:21:06 +0200
> > From: Jan Schneider <jan at horde.org>
> > To: kronolith at lists.horde.org
> > Subject: Re: [kronolith] reminder
> >
> > Zitat von Jie Gao <J.Gao at isu.usyd.edu.au>:
> >
> > >> php -v
> > > PHP 4.4.0 (cli) (built: Sep 14 2005 13:44:31)
> > > Copyright (c) 1997-2004 The PHP Group
> > > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
> > >
> > > Nothing returns from this command:
> > >
> > > php -r "echo 'hello'";
> >
> > Then you have worse problems than the reminder script.
>
> But the following work:
>
> #!/usr/bin/php -q
> <?php
> echo "Hello World with PHP CLI";
> ?>
>
> #!/usr/bin/php -q
> <?php
> echo "Test Read Arguements:\n\n";
> echo $_SERVER["argc"];
> echo "\n";
> echo $_SERVER["argv"][0];
> ?>
>
> Any idea why?
I've done the following:
touch /usr/local/lib/php-cli.ini
and
php -r "echo 'hello';"
started to work. But the reminder script still doesn't.
Regards,
Jie
More information about the kronolith
mailing list