From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 15:10:20 2004 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 5931816A4D3 for ; Wed, 9 Jun 2004 15:10:20 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B1E043D5D for ; Wed, 9 Jun 2004 15:10:20 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 9 Jun 2004 10:11:34 -0500 Message-ID: <40C72856.9060707@daleco.biz> Date: Wed, 09 Jun 2004 10:10:14 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grant Peel References: <007401c44e2e$effbb850$6601a8c0@grant> In-Reply-To: <007401c44e2e$effbb850$6601a8c0@grant> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2004 15:11:35.0218 (UTC) FILETIME=[0DEDF120:01C44E34] cc: freebsd-questions@freebsd.org Subject: Re: Apache-MySQL-PHP from ports 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: Wed, 09 Jun 2004 15:10:20 -0000 Grant Peel wrote: >Hi all, > >TO this point, I have been installing everything from source. Starting with >the new servers, which I am working on now, I would like to do as much as >possible from ports. > >I have mysql installed correctly. > >I need now to install PHP and Apache. > >The source type install would require to run ./configure with a few options, >then back to the PHP source dir, run ./configure with a few options, make, >make install, then back to the apache dir, re ./configure, make, make >install, etc etc. > >Since ports have patches and some Makefile options set, is it permissable to >go to the Apache or PHP port dir, run the make, then rerun ./configure so as >to emulate the steps above? > > > Yes, but you'd defeat the point of it running all 3 steps automagically. >Eventually, When it becomes time to comile apache, I will need to add the >FrontPage patch as well. All this considered, woould I be better to keep >installing all from source, or still try to stick to the ports method? > > I would think that defining the desired options in /usr/local/etc/php.conf would allow you to get things configured as you like them with a one liner ("make install clean"); I tend to just use the defaults, though. See make(1), make.conf(5), /usr/ports/mk/bsd.php.mk, and /usr/local/etc/php.conf (now, whether or not you have the last two if you've never done it from ports, I dunno....) For FP, can't you just load the module? Kevin Kinsey