Re: Re: PHP + Cron jobs
| From: | Per Jessen | Date: | Wed, 01 Oct 2008 12:05:01 +0000 |
| Subject: | Re: Re: PHP + Cron jobs | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281273@lists.php.net to get a copy of this message | ||
Waynn Lue wrote:
> Oh, I thought having one for cgi and one for cli was common. Do people
> generally run only one, regardless of whether they're hitting it from
> a webserver or running it from the commandline?
I think the general setup is a php cli executable in /usr/bin/php and
the php apache module. I find it unusable to have php executables in
both /usr/bin and /usr/local/bin.
Obviously, if you're using all three variations - CLI, CGI and
module-based, you'll need two PHP executables, but I would still expect
to find those in /usr/bin with one called 'php' and the other
perhaps 'php-cgi'.
/Per Jessen, Zürich