Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 20:03:46 -0700
From:      patrick <gibblertron@gmail.com>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: why is the PHP stuff line "off" by default in ports/lang/php5?
Message-ID:  <AANLkTi=%2BCdQZauy6ZBx1GOn_NBkOOuPTGFhp5_Yu%2BxQ9@mail.gmail.com>
In-Reply-To: <20100917014530.GA35456@thought.org>
References:  <20100917014530.GA35456@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kline@thought.org> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=%2BCdQZauy6ZBx1GOn_NBkOOuPTGFhp5_Yu%2BxQ9>