Re: where php at?
| From: | Anthony Ettinger | Date: | Mon, 27 Mar 2006 21:21:37 +0000 |
| Subject: | Re: where php at? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232672@lists.php.net to get a copy of this message | ||
On 3/27/06, Anthony Ettinger <aettinger@sdsualumni.org> wrote:
> On 3/27/06, Ryan A <Ryan@ezee.se> wrote:
> > Ooops, and lets not forget this one:
> >
> > curl http://www.yoursite.com/path/to/script/yourscript.php
> >
> > you can put that in your cron job by going to cpanel.... its a long way
> > round but sometimes it can be useful....you should have CURL installed of
> > course.
> > The good thing about the above is it does not matter where the heck your php
> > is installed or if you have the "shebang" or not...
> >
> > HTH again.
> >
> > Cheers,
> > Ryan
> >
>
> $which php
> returns nothing
>
> $whereis php
> php: /etc/ph
> $ ls /etc/php
> apache2-php4 apache2-php5 cli-php4
>
> I don't think the binary php exists on my system.
> The only php* binary matches I have are:
> $ php
> php-config phpize
>
>
> I think cli-php4 is the command-line-interface php.ini file for php4,
> but the binary is no longer on my system.
>
> If anyone knows...otherwise, I'll redirect to #gentoo
>
fyi: i didn't have the "cli" use flag set when I installed php5.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html