Req #55508 [Com]: listen and listen.allowed_clients should take IPv6 addresses.

From: Date: Tue, 13 May 2014 14:07:33 +0000
Subject: Req #55508 [Com]: listen and listen.allowed_clients should take IPv6 addresses.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185794@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55508&edit=1

 ID:                 55508
 Comment by:         Sjon at hortensius dot net
 Reported by:        josef at ilait dot se
 Summary:            listen and listen.allowed_clients should take IPv6
                     addresses.
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            FPM related
 Operating System:   Linux
 PHP Version:        5.5
 Assigned To:        fat
 Block user comment: N
 Private report:     N

 New Comment:

Fwiw; I just noticed a patch has already been created; it would be very nice if this could be pulled
by the php devs

https://github.com/php/php-src/pull/631


Previous Comments:
------------------------------------------------------------------------
[2014-01-01 00:08:59] pgnet dot dev+php55508 at gmail dot com

just fyi, current documentation @

http://www.php.net/manual/en/install.fpm.configuration.php

no longer even expicitly states anything about IPv6 -- it completely fails to make any mention of it
whatsoever.

The listen directive does state "Valid syntaxes are: 'ip.add.re.ss:port',
'port', '/path/to/unix/socket'", implying no IPv6 support

fwiw, my php -> PHP 5.5.8-dev (cli) (built: Dec 30 2013 18:36:38)

+1 on the "Expected Result" above ^^^

------------------------------------------------------------------------
[2013-11-01 10:42:16] maarten@php.net

Doesn't work indeed, so updated to current branch.

------------------------------------------------------------------------
[2013-11-01 10:00:37] sjon at hortensius dot net

In php-5.5.5 this still doesn't work; maybe update the version to reflect this. Listening on *
wont listen on ipv6 either

------------------------------------------------------------------------
[2013-07-22 15:36:23] albertcasademont at gmail dot com

Same here, would be nice to have ipv6 support in php-fpm. Thanks!

------------------------------------------------------------------------
[2013-05-19 16:52:33] brunofr at ioda dot net

Still saw with php 5.4.15

the apache & common uri notation [::1]:9000 is transformed to 
ERROR] invalid port value ':1]:9000'

Also trying to use localhost which resolve by default to ::1
[NOTICE] address 'localhost' resolved as 127.0.0.1

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=55508


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55508&edit=1


Thread (8 messages)

« previous php.bugs (#185794) next »