On 2016-01-06, Peter Hessler <[email protected]> wrote:
> On 2016 Jan 05 (Tue) at 05:20:07 +0000 (+0000), Stuart Henderson wrote:
>:On 2016-01-05, Jordon <[email protected]> wrote:
>:> Next, I think I need to get php working.  This is where I get stuck.  An 
>email
>:> posted here last month mentioned getting php_fpm running, but that package 
>is
>:> not installed on my machine.  If that is a requirement for racktables,
>:> shouldn't pkg_add install it?
>:
>:Whether or not php-fpm is a requirement depends on which webserver software
>:you use. It's needed for nginx and the httpd from base, but isn't needed for
>:Apache httpd.
>:
>
> Since it is mandatory for base-httpd, I would recommend adding php-fpm as
> a run-depend.

Given that there are 75-odd packages using PHP it doesn't make sense to
change this dependency on an individual port basis.

Perhaps it would make more sense to move php-fpm to the main PHP package,
though a simple comment like "install the php-fpm package to use this" in
examples/httpd.conf would improve things (at least for people who
notice the /etc/examples dir).

(side-note: "what are all these different httpds and how do I use php?"
might make a good faq entry)..

Reply via email to