Bug #74166 [Opn->Ver]: IPv6 forced to be enabled

From: Date: Wed, 08 Mar 2017 07:02:01 +0000
Subject: Bug #74166 [Opn->Ver]: IPv6 forced to be enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207741@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74166&edit=1 ID: 74166 Updated by: pollita@php.net Reported by: thflori at gmail dot com Summary: IPv6 forced to be enabled -Status: Open +Status: Verified Type: Bug Package: FPM related Operating System: Alpine Linux 3.5 PHP Version: 7.1.2 -Assigned To: +Assigned To: pollita Block user comment: N Private report: N New Comment: Confirmed. FPM assumes a bind address of "::" which normally includes both IPv6 ANYADDR and IPV4 mapped ANYADDR, but if your system doesn't have IPV6, then it'll fail as you're experiencing. In the short term, you can specify a "port" of "0.0.0.0:9000" and it should work fine on your system. Longer term I'll put together a fix and get this onto 7.0+ Previous Comments: ------------------------------------------------------------------------ [2017-02-25 12:39:51] thflori at gmail dot com Description: ------------ The listen directive in fpm pool configuration is described that 9000 should listen on all interfaces and addresses on port 9000. It is not described that you have to have IPv6 address family. But currently fpm stops with this error message when IPv6 is not available: ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97) Expected result: ---------------- I expect that it listens on 0.0.0.0:9000 when only IPv4 is available. Actual result: -------------- The fpm process stops and does not listen on any interface / ip address. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74166&edit=1

« previous php.bugs (#207741) next »