From owner-freebsd-questions@FreeBSD.ORG Sat Sep 18 03:03:48 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 3EF111065670 for ; Sat, 18 Sep 2010 03:03:48 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id EA19E8FC13 for ; Sat, 18 Sep 2010 03:03:47 +0000 (UTC) Received: by qwg5 with SMTP id 5so2709785qwg.13 for ; Fri, 17 Sep 2010 20:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=BJ1P+5K3fQtCMBXUvdO9SQZQLAwTOKiLWPQZBDLN0wE=; b=ZVadoffo0N1FreNOI0NDl3n/Pol1HPaxxzXtkO/4WAC0eIZEHNLzSD+fY2017K03KV 3j1oMu6xt+DuVH6zTqkl2Gyg4fQLZmYqDI8q4mc/CUJQjleNydqUILsr7F7E5J+wLTgu SKx8a+BNjD0AGmfznK5yRxwTABtFcTci/THTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rDH9u8OfppJVtJZOuwcvoj0xzNVTC3sZL4Kba+c75K4L8Q2jtoMrkTOTy9AjE08zVj OkATi3qHjMIKR8pUPab3tzbfc6qvZCEavSQCoquxbQ8Dol4ppwGafFxHVhCnWhVGf+2A Rxh0ylj1pRw+eO3ctTvk9PqB2kF+mCq1lpSHY= MIME-Version: 1.0 Received: by 10.224.60.137 with SMTP id p9mr3987888qah.145.1284779026794; Fri, 17 Sep 2010 20:03:46 -0700 (PDT) Received: by 10.224.60.76 with HTTP; Fri, 17 Sep 2010 20:03:46 -0700 (PDT) In-Reply-To: <20100917014530.GA35456@thought.org> References: <20100917014530.GA35456@thought.org> Date: Fri, 17 Sep 2010 20:03:46 -0700 Message-ID: From: patrick To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List 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: Sat, 18 Sep 2010 03:03:48 -0000 I don't for sure, but I'd say it's off by default because not everyone runs PHP with Apache, and mod_php5/libphp5.so is strictly for Apache. Lots of people use PHP with FastCGI or other purposes. If you always want it to be on, add the option to /etc/make.conf. Or, if you're using portupgrade or some other port management utility for upgrades, there are ways to set the default options for the ports you use. Hindsight is 20/20, but I'll go out on a limb here and say that it's generally considered good practice to test software after upgrading -- particularly if it's a web server running websites. Another thing to consider would be running something like Nagios to monitor your systems/sites to make sure things are working properly. Patrick On Thu, Sep 16, 2010 at 6:45 PM, Gary Kline wrote: > > Guys, > > Tell me if I'm wrong to be ticked off. =A0I just learned that my website > has been down for weeks. =A0My KVM switch doesn't work to let me have > control of the console of my server [ns1|ethic].thought.org. =A0Whether > it was a cheap KVM switch or whether the '09 Dell 550 is defective is > unknown. =A0I have a new KVM switch. =A0I do need direct control of the > console for many reasons, but mostly to portupgrad ports. > > In the months since I first got ethic working, everything _but_ X11 > worked. =A0In late August I upgraded apache and php5, rebooted, and > just-assumed {TM} that apache22 was working. =A0Weeks ago I did read and > edit my non-blog blog; further reason to assume that everything worked. > > A couple hours ago my web server was not running. =A0I traced it to a > missing libphp5.so. =A0I checked the makefile and found the php stuff > defaults to "off". ...I am thinking this is a security risk, but most > of us are reasonably sophisticated about such things .... > > Comments, anybody? > > -- > =A0Gary Kline =A0kline@thought.org =A0http://www.thought.org =A0Public Se= rvice Unix > =A0 =A0The 7.83a release of Jottings: http://jottings.thought.org/index.p= hp > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://journey.though= t.org > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >