From owner-freebsd-questions@FreeBSD.ORG Fri Nov 14 13:54:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A52B416A4CE for ; Fri, 14 Nov 2003 13:54:25 -0800 (PST) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D6D43F85 for ; Fri, 14 Nov 2003 13:54:24 -0800 (PST) (envelope-from jbq@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id 2EADF21C7 for ; Fri, 14 Nov 2003 22:54:22 +0100 (CET) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id C14EF91; Fri, 14 Nov 2003 22:54:21 +0100 (CET) Date: Fri, 14 Nov 2003 22:54:21 +0100 From: Jean-Baptiste Quenot To: freebsd-questions@FreeBSD.ORG Message-ID: <20031114215419.GA30666@watt.intra.caraldi.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20031105015317.B19563@pemaquid.safeport.com> <003501c3a3b8$c11ba430$f4f0a8c0@pcmedx.com> <20031105114500.Y19563@pemaquid.safeport.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20031105114500.Y19563@pemaquid.safeport.com> User-Agent: Mutt/1.5.5.1i Subject: Re: How to run php4 as CGI pgm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 21:54:25 -0000 --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--