[php-maint] Bug#820282: Bug#820282: Please enable fpm by default on Apache

Mathieu Parent (Debian) sathieu at debian.org
Thu Apr 7 21:05:22 UTC 2016

2016-04-07 12:57 GMT+02:00 Ondřej Surý <ondrej at sury.org>:
> Hi Mathieu,
> I already tried enabling FPM by default but it ended with a weird errors
> on the user side, see:
> https://github.com/oerdnj/deb.sury.org/issues/266
> So I have disabled it again. It might need a debconf question that can
> be pre-seeded or something like that before we re-enable it again.

The original problem is not about mod_php vs fcgi, but about the fpm
not working by default.

What is required is enabling mod_proxy_fcgi, and ensure it's activated
with the attached patch.

This is just a proof-of-concept, I'll check that later (read: end of April)

> I've been getting a lot of complaints that `apt-get install php` pulls
> apache2 and FPM SAPI is much safer anyway.

I understand. But we have tried to move to php5-fpm in jessie and some
applications didn't work. I won't go into details, but the behavior is
slightly different, and it seems that mod_php is the most used (we
also had problem with mod_auth_cas not working with mpm_workers which
decrease the advantage of fcgi over mod_php). Anyway I don't care that
much about defaults as we use Puppet.

Mathieu Parent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Only-use-fpm-SetHandler-when-it-works.patch
Type: text/x-diff
Size: 2067 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20160407/488838ce/attachment.patch>

More information about the pkg-php-maint mailing list