From owner-freebsd-questions@FreeBSD.ORG Tue May 31 11:17:17 2005 Return-Path: X-Original-To: questions@freebsd.org 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 7DD6016A41C for ; Tue, 31 May 2005 11:17:17 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2256243D1D for ; Tue, 31 May 2005 11:17:17 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-149.dynamic.qsc.de [212.202.39.149]) by mail.efacilitas.de (Postfix) with ESMTP id 44B601239F3; Tue, 31 May 2005 13:15:49 +0200 (CEST) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id AE12D12B12D; Tue, 31 May 2005 13:15:51 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 96402-10; Tue, 31 May 2005 13:15:46 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 7FCCF12B033; Tue, 31 May 2005 13:15:46 +0200 (CEST) Message-ID: <429C4761.8040402@cs.tu-berlin.de> Date: Tue, 31 May 2005 13:15:45 +0200 From: Bjoern Koenig User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Bill Schmitt (SW)" References: <429C1F0F.6020605@schmittnet.com> In-Reply-To: <429C1F0F.6020605@schmittnet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at example.com Cc: questions@freebsd.org Subject: Re: General PHP Port Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 11:17:17 -0000 Bill Schmitt (SW) wrote: > I think I'm missing something pretty basic. There appear to be two ways > to install php4; using the port under lang/php4 and using the port under > www/mod_php4. There are further ways. You missed 'www/php4-cgi' and 'lang/php4-extensions'. > The "Long Description" under each is the same. Under Lang, > the "Short Description" refers to CLI, but otherwise they appear to be > the same thing. Other than the CLI reference, what is the difference > between installing one or the other Well it's quite simple: 'lang/php4' installs the Apache Module and a command line interface while 'www/mod_php4' installs the Apache Module only. > and why is one listed under lang and > the other under www? 'lang/php4' with the command line interface gives the ability to create scripts which have nothing necessarily to do with the web. It's more general. Furthermore this port is the base of all ports which deal with php4, e.g. misc/php4-calendar or devel/php4-ncurses. 'www/mod_php4' is for use with the Apache web server only and therefore a piece of software which belongs to the 'www' category. Björn