From owner-freebsd-ports@FreeBSD.ORG Thu Dec 16 03:15:21 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 8619F16A4CE for ; Thu, 16 Dec 2004 03:15:21 +0000 (GMT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B647343D5F for ; Thu, 16 Dec 2004 03:15:20 +0000 (GMT) (envelope-from brett@lariat.org) Received: from runaround.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id UAA03304; Wed, 15 Dec 2004 20:15:12 -0700 (MST) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <6.2.0.14.2.20041215200528.08bf1978@localhost> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Wed, 15 Dec 2004 20:15:11 -0700 To: Matthew Seaman From: Brett Glass In-Reply-To: <41C06234.70808@infracaninophile.co.uk> References: <6.2.0.14.2.20041215084409.065ce810@localhost> <41C06234.70808@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: Thu, 16 Dec 2004 03:15:21 -0000 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