From owner-freebsd-ports@FreeBSD.ORG Tue Mar 16 04:36:47 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86E2816A4CE; Tue, 16 Mar 2004 04:36:47 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1012943D2D; Tue, 16 Mar 2004 04:36:47 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.11/8.12.11) with ESMTP id i2GCb2ZS095466; Tue, 16 Mar 2004 13:37:02 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.11/8.12.11/Submit) id i2GCb1Su095465; Tue, 16 Mar 2004 13:37:02 +0100 (CET) (envelope-from stijn) Date: Tue, 16 Mar 2004 13:37:01 +0100 From: Stijn Hoop To: freebsd-ports@freebsd.org Message-ID: <20040316123701.GB11578@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! cc: ale@freebsd.org Subject: getting all versions of php (mod,cli,cgi)? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 12:36:47 -0000 Hi, I'd like to install _all_ versions of PHP -- that is I need the apache module and the php CLI binary, and I need the CGI interface as well. I cannot figure out any way to do this with ports. Am I stuck with building on my own? As far as I can see lang/php4 only builds the CGI binary when both WITHOUT_APACHE and WITHOUT_CLI are set. I do not see the point of this. It is easy to install the CGI to another directory, let's say /usr/local/www/cgi-bin. The PHP docs say that you can build both CLI & CGI versions at the same time by doing ./configure --enable-cli=${PREFIX} --enable-cgi=${PREFIX}/www/cgi-bin So if it's not possible using ports, why is this and can it be fixed? If it is possible, please let me know how. --Stijn -- The problem is that there are several people in design positions now who couldn't design the Next Big Thing(TM) unless it involved them taking a photocopier and someone else's design of The Next Big Thing(TM). -- 'Alkaiser' in a post on Slashdot on game originality