From owner-freebsd-questions@FreeBSD.ORG Tue May 4 14:18:40 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 43DAA16A4CE for ; Tue, 4 May 2004 14:18:40 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFA6843D58 for ; Tue, 4 May 2004 14:18:39 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 4 May 2004 16:19:36 -0500 Message-ID: <409808AD.8010308@daleco.biz> Date: Tue, 04 May 2004 16:18:37 -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: Peter Risdon References: <003801c43217$7dcc15a0$0701a8c0@darryl> <40980034.7030303@circlesquared.com> In-Reply-To: <40980034.7030303@circlesquared.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 May 2004 21:19:37.0234 (UTC) FILETIME=[80F72F20:01C4321D] cc: freebsd-questions@freebsd.org Subject: Re: Which php ? 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: Tue, 04 May 2004 21:18:40 -0000 Peter Risdon wrote: > Darryl Hoar wrote: > >> I have 5.1-release installed. I wish to install php4 and want it to >> work with apache, mysql and openldap. Which one of the php ports >> do I use ? >> >> > > Easiest thing to do is install www/mod_php4 and select the options > you want (mysql - which is a default - and ldap)under the curses based > config screen that will pop up. > > Having said that, in a minority of cases people want to run php as a > cgi under suexec. In that case, you need to use /lang/php4 and use > the right config arguments. > > PWR. > Pretty much correct. /lang/php4 simply builds both the Apache module and the CLI and CGI executables, and installs the lot; therefore it also uses the ncurses config screen. I think that if you desire to 'keep up' with PHP development by means of portupgrade(1), then you'll want to place the "right config arguments" in /etc/make.conf. See make.conf(5) for the real scoop on that one .... Kevin Kinsey DaleCo, S.P.