From owner-freebsd-ports@FreeBSD.ORG Mon Dec 20 20:11:02 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 7D3D016A4FA for ; Mon, 20 Dec 2004 20:11:02 +0000 (GMT) Received: from veldy.net (fuggle.veldy.net [209.240.64.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2700843D5C for ; Mon, 20 Dec 2004 20:11:02 +0000 (GMT) (envelope-from veldy@veldy.net) Received: from localhost (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with ESMTP id D868219B; Mon, 20 Dec 2004 14:10:58 -0600 (CST) Received: from veldy.net ([127.0.0.1]) by localhost (fuggle.veldy.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31265-04; Mon, 20 Dec 2004 14:10:53 -0600 (CST) Received: from [127.0.0.1] (fuggle.veldy.net [192.168.1.3]) by veldy.net (Postfix) with ESMTP id 120B21D; Mon, 20 Dec 2004 14:10:53 -0600 (CST) Message-ID: <41C731CC.5030105@veldy.net> Date: Mon, 20 Dec 2004 14:10:52 -0600 From: "Thomas T. Veldhouse" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brett Glass References: <6.2.0.14.2.20041215084409.065ce810@localhost> <41C06234.70808@infracaninophile.co.uk> <6.2.0.14.2.20041215200528.08bf1978@localhost> In-Reply-To: <6.2.0.14.2.20041215200528.08bf1978@localhost> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at veldy.net cc: ports@freebsd.org Subject: Re: Installing Apache 2 and PHP5 from packages on 4.10-R 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: Mon, 20 Dec 2004 20:11:02 -0000 Brett Glass wrote: >Matthew Seaman sent instructions for setting some environment >variables to make the ports do the right thing. Alas, they >didn't work -- perhaps due to the detritus from my previous >installation attempts. > >Here's what I ultimately did. I did a fresh install of the OS, then >installed the version of MySQL that the PHP ports seemed to want so >that they'd find it. I then built the PHP4 (not PHP5) port (which took >forever, because it insisted on bringing in everything from Bison >to M4 to GNU gettext). It, in turn, brought in the older version of >Apache that it "wanted." > >Admittedly, I was letting the port maintainers' preferences influence >what I did, but I didn't have time to sort out all of the dependencies or >figure out exactly what was going wrong. I needed to get the server up >ASAP. > >Perhaps the maintainers of these ports could provide better instructions >for a foolproof install, since PHP, MySQL, and Apache are so often installed >together. Maybe the best thing to do is to create ports or packages that >are explicit combinations of specific versions of each. (I would have >liked PHP5, Apache 2, and the most recent solid release of MySQL on this >machine, but for now it was not to be.) > >--Brett > > > Just set some options in your /etc/make.conf file. # /etc/make.conf WITHOUT_X11= yes # mailman MAIL_GID=nobody # openldap WITH_DYNAMIC_BACKENDS=yes WITH_DYNGROUP=yes WITH_PROXYCACHE=yes WITH_PERL=yes WITH_SHELL=yes WITH_SASL=yes # courier/maildrop WITH_MAILDIRQUOTA=yes WITH_TRASHQUOTA=yes WITH_MYSQL=yes # apache WITH_APACHE2=yes -- Thomas T. Veldhouse Key Fingerprint: 07C7 BF05 4176 F50B A083 4542 0118 1315 761F D300 Spammers please contact me at renegade@veldy.net.