[Bug 235141] lang/php72: php-fpm fails to bind to tcpv4 socket on FreeBSD 11.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 22 22:24:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235141

            Bug ID: 235141
           Summary: lang/php72: php-fpm fails to bind to tcpv4 socket on
                    FreeBSD 11.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz at freebsd.org
          Reporter: ard_1 at mail.ru
             Flags: maintainer-feedback?(tz at freebsd.org)
          Assignee: tz at freebsd.org

php-fpm fails to bind to tcpv4 socket when only port number is set in 'listen'
configuration directive.

# php -v
PHP 7.2.14 (cli) (built: Jan 22 2019 19:11:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.14, Copyright (c) 1999-2018, by Zend Technologies

# uname -a
FreeBSD test.local 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 #0: Tue Jan  8
21:35:12 UTC 2019    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

STR:
Set 'listen' parameter to include only port, i.e.:
listen = 9000
in "php-fpm.d/www.conf" and start or restart php-fpm service.

Then run "netstat -an".

php-fpm will bind only to tcpv6 socket ignoring tcpv4, instead of binding to
both.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list