Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 22:54:21 +0100
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to run php4 as CGI pgm
Message-ID:  <20031114215419.GA30666@watt.intra.caraldi.com>
In-Reply-To: <20031105114500.Y19563@pemaquid.safeport.com>
References:  <20031105015317.B19563@pemaquid.safeport.com> <003501c3a3b8$c11ba430$f4f0a8c0@pcmedx.com> <20031105114500.Y19563@pemaquid.safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* doug@safeport.com:

> As a PHP noivce I have a more general question. I want to offer PHP to
> virtual hosting  customers. Is there a  place to find a  discussion of
> the pros and cons of the  CGI binary and mod-php. I had concluded from
> reading  that  the  CGI  binary  and suExec  was  the  best  for  that
> environment.

It  is indeed.   But suExec  has to  be patched[1]  to allow  php to  be
executed by any user running it, as  plain suExec requires the cgi to be
owned by the user  running it.  If you don't patch it,  you will need to
copy the cgi in every user's directory.

I have a full description of that system if you need it.

Best regards,
--=20
Jean-Baptiste Quenot
http://caraldi.com/jbq/

[1] http://www.localhost.nl/patches/

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/tU8L9xx3BCMc9gsRAmBTAJ9Xu6mLoOXxSHah7Le+VfqiTROw9QCeNWvb
t2Iyk3RCdkoMx+RTDQmM36o=
=1+Jf
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031114215419.GA30666>