From owner-freebsd-questions@FreeBSD.ORG Sun Sep 19 23:29:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4794106566B; Sun, 19 Sep 2010 23:29:04 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0428FC16; Sun, 19 Sep 2010 23:29:04 +0000 (UTC) Received: by vws2 with SMTP id 2so1656305vws.13 for ; Sun, 19 Sep 2010 16:29:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.128.200 with SMTP id l8mr4027068vcs.33.1284938942399; Sun, 19 Sep 2010 16:29:02 -0700 (PDT) Received: by 10.220.188.3 with HTTP; Sun, 19 Sep 2010 16:29:02 -0700 (PDT) X-Originating-IP: [71.1.133.114] In-Reply-To: <20100919194813.J11124@sola.nimnet.asn.au> References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> Date: Sun, 19 Sep 2010 16:29:02 -0700 Message-ID: From: Rob Farmer To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: patrick , Gary Kline , freebsd-questions@freebsd.org, ale@freebsd.org Subject: Re: why is the PHP stuff line "off" by default in ports/lang/php5? 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: Sun, 19 Sep 2010 23:29:04 -0000 On Sun, Sep 19, 2010 at 04:47, Ian Smith wrote: > In freebsd-questions Digest, Vol 3, Issue 9, Message: 21 > On Fri, 17 Sep 2010 20:03:46 -0700 patrick wrote: > > =A0> I don't for sure, but I'd say it's off by default because not everyo= ne > =A0> runs PHP with Apache, and mod_php5/libphp5.so is strictly for Apache= . > > No, not everyone installs PHP to use with Apache, but I guess that maybe > half do. =A0This comes up many times in the last 5 or so years since you > could last install the module from a package rather than only the port. > > It's also one of those ports that takes a good while to build on slower > hardware (which of course developers don't tend to run :) but no amount > of requesting a version with '"Build Apache module" on' helped so far. > > =A0> Lots of people use PHP with FastCGI or other purposes. > > True, yet those people probably also tend to be less likely to want to > install from packages (when available) anyway. =A0Sure, adding libphp5.so > to the (or one different?) package would add maybe 3MB to it. =A0I'd be > happy to spend an extra few MB and minutes to save likely an hour. > > =A0> If you always want it to be on, add the option to /etc/make.conf. Or= , > =A0> if you're using portupgrade or some other port management utility fo= r > =A0> upgrades, there are ways to set the default options for the ports yo= u > =A0> use. > > Not a problem when you have the horsepower and time to build it, but a > significant loss of ability to install apache+php from packages, as you > once could from the CDs .. guess I just got spoiled back there in the > olden days :) Adding a slave port would probably be a good solution and shouldn't be too difficult. --=20 Rob Farmer