From owner-freebsd-ports@FreeBSD.ORG Tue Mar 16 10:41:12 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 0B0E616A4CF for ; Tue, 16 Mar 2004 10:41:12 -0800 (PST) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 907FF43D3F for ; Tue, 16 Mar 2004 10:41:10 -0800 (PST) (envelope-from neuhauser@chello.cz) Received: (qmail 10903 invoked by uid 0); 16 Mar 2004 18:41:09 -0000 Received: from r3al16.mistral.cz (HELO isis.wad.cz) (213.220.229.16) by smtp.dkm.cz with SMTP; 16 Mar 2004 18:41:09 -0000 Received: by isis.wad.cz (Postfix, from userid 1001) id 77A6C2FDA01; Tue, 16 Mar 2004 19:41:27 +0100 (CET) Date: Tue, 16 Mar 2004 19:41:27 +0100 From: Roman Neuhauser To: Stijn Hoop Message-ID: <20040316184127.GA15477@isis.wad.cz> Mail-Followup-To: Stijn Hoop , freebsd-ports@freebsd.org, ale@freebsd.org References: <20040316123701.GB11578@pcwin002.win.tue.nl> <20040316135026.GE11578@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040316135026.GE11578@pcwin002.win.tue.nl> User-Agent: Mutt/1.5.4i cc: ale@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: 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 18:41:12 -0000 # stijn@win.tue.nl / 2004-03-16 14:50:27 +0100: > On Tue, Mar 16, 2004 at 01:37:01PM +0100, Stijn Hoop wrote: > > 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 > > And like most of the time, the PHP docs get it wrong :( This doesn't work, > explaining the need for the different ports. This Sucks. Oh really? % tar xjf /usr/ports/distfiles/php-4.3.4.tar.bz2 % cd php-4.3.4 % PREFIX=/opt/php ./configure \ --enable-cli=${PREFIX} \ --enable-cgi=${PREFIX}/www/cgi-bin \ && make % sapi/cgi/php -v PHP 4.3.4 (cgi) (built: Mar 16 2004 19:31:02) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies % sapi/cli/php -v PHP 4.3.4 (cli) (built: Mar 16 2004 19:31:04) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html