5 Commits

Author SHA1 Message Date
Luís Cobucci
87c85e43ff Remove log decoration from workers output
As of PHP 7.3 we finally use STDOUT and STDERR properly in our
containers, this disables the '[pool %s] child %d said into %s: \"%s\'
format.

More info:

- https://github.com/php/php-src/pull/2458
- https://bugs.php.net/bug.php?id=71880
- https://github.com/docker-library/php/issues/207
2018-10-16 14:08:06 -07:00
boite
57b41cfc2d Allow FPM pool to listen on IPv4 when v6 disabled
In PHP 7.2.0 a change [1] was made in response to bug [#74166] to fall
back to listening on 0.0.0.0 if IPv6 is disabled (for example with
ipv6.disable=1 Linux kernel param) instead of failing to create a
listening socket with the error "Address family not supported by
protocol (97)".

A fallback to IPv4 in such circumstances is only possible in PHP >=
7.2.0 and by specifying a port number without an address to the listen
directive.

[1]: b63c45c69e
[#74166]: https://bugs.php.net/bug.php?id=74166
2018-01-18 11:40:00 +00:00
Mathias Grimm
7f839bbed0 finishing fix 2016-12-01 15:43:54 +01:00
Tianon Gravi
e1292bb6ec Refactor FPM support to use upstream's config file directly
PHP 7 changed their config to use "include", which is a clever way to support "php-fpm.d" for further configuration.  This adapts our FPM config to follow suit.
2016-01-22 12:59:21 -08:00
Tianon Gravi
80f855114c Add FPM variant 2014-11-12 17:37:22 -07:00