[suPHP] SuPHP recursive forking
Jeremy Chadwick
suphp at jdc.parodius.com
Sat Sep 27 04:41:32 CEST 2008
On Fri, Sep 26, 2008 at 06:40:44PM +0300, Jani Ollikainen wrote:
> On Fri, Sep 26, 2008 at 10:20:09AM -0500, John Lightsey wrote:
> > On a cPanel machine /usr/bin/php is the PHP CGI binary and /usr/local/
> > bin/php is the PHP CLI binary. In /opt/suphp/etc/suphp.conf the
> > env_path is set to /bin:/usr/bin.
>
> In smart distributions php is the cli binary and php-cgi is the cgi
> binary..
Agreed/correct.
On FreeBSD, the CLI is called /usr/local/bin/php, and the CGI is
called /usr/local/bin/php5-cgi. If an administrator doesn't know
the difference, then they should be passing off such administrative
tasks onto someone who does.
> If cPanel uses both cgi and cli with the name php, that's just nasty.
> I think you should try to fix cPanel to have smarter naming of php binaries.
Agreed.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the suPHP
mailing list