Bug 190190 - [PATCH] lang/php5: IPv6 support for FPM sapi
Summary: [PATCH] lang/php5: IPv6 support for FPM sapi
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-25 00:30 UTC by Melvyn Sopacua
Modified: 2014-07-07 09:23 UTC (History)
1 user (show)

See Also:


Attachments
php5-fpm-ipv6.patch (22.42 KB, patch)
2014-05-25 00:30 UTC, Melvyn Sopacua
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Melvyn Sopacua 2014-05-25 00:30:00 UTC
Php-fpm cannot listen on IPv6 sockets, making it impossible to run in IPv6 only
jails. See also: https://bugs.php.net/bug.php?id=55508

Fix: Patch obtained from github and reworked a bit for conflicts in php-fpm.conf.in
will add support IPv6.
Port provides it through non-default option FPM_IPV6.

Buildarchive: <https://redports.org/buildarchive/20140524225300-60945/>
    (forced FPM_IPV6 build)

Result:
% sockstat -6l | head -2
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
www      php-fpm    69257 0  tcp6   2a01:7c8:aaae:25e::10:9000 *:*
How-To-Repeat: 
Add [::1]:9000 as listen directive in php-fpm.conf
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-25 00:30:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Melvyn Sopacua 2014-06-15 12:51:31 UTC
Any objections, Alex?