Re: /usr/lib/cgi-bin/php4 ?
On Fri, Nov 01, 2002 at 05:03:16AM +0100, Hakan Kuecuekyilmaz wrote:
> On Fre, 2002-11-01 at 04:34, iudicium ferat wrote:
> > Was looking over a new server install and I see:
> >
> > php4-cgi for DEBIAN
> > ----------------------
> >
> > This package contains both runtime and cgi versions of php4.
> >
> > php4-cgi and apache
> > -------------------
> >
> > If you want to use php4-cgi in apache
> > 1) activate mod_action
> > 2) add
> > Action application/x-httpd-php /cgi-bin/php4
> > into apache config file
> >
> > Problem with php4-cgi
> > ---------------------
> >
> > Q: PHP Fatal error: Unable to start session mm module in Unknown
> > on line 0
> >
> > A: Remove /tmp/session_mm.sem or give access permission to the user
> > running php4.
> >
> >
> > Wouldn't having the php4 binary in the CGI-BIN be as dangerous as
> > having the Perl binary there ?
> > What be the advantage of having enabled php4-cgi anyway?
>
> php in cgi mode is used by isp's for reasons like a crash in php in
> php-cgi mode does not chrashes the web-server, and some others.
It's also used for non-apache web servers that want to serve php.
a
Reply to: