php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55073 PHP-CLI-webserver does not listen on ipv6 interfaces
Submitted: 2011-06-29 17:31 UTC Modified: 2011-07-20 00:57 UTC
From: fa@php.net Assigned: moriyoshi (profile)
Status: Closed Package: Built-in web server
PHP Version: 5.4SVN-2011-06-29 (SVN) OS: any
Private report: No CVE-ID: None
 [2011-06-29 17:31 UTC] fa@php.net
Description:
------------
./sapi/cli/php -S [::1]:3000 does not work as expected


Patches

php-cli-server-ipv6 (last revision 2011-06-29 21:33 UTC by fa at art-core dot org)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-29 18:23 UTC] sixd@php.net
On #php.docs, yawk pointed out that the _php_filter_validate_ipv6() function in ext/filter/logical_filters.c might be useful for validation.
 [2011-06-29 18:30 UTC] felipe@php.net
-Package: Unknown/Other Function +Package: Built-in web server
 [2011-07-01 10:32 UTC] fa@php.net
If I made enough sense of what Pierre said on irc, this won't work unless php_filter_validate_ip is exposed via PHP_API - so I guess in short it means: not happening right now and for this bugfix.
 [2011-07-03 09:24 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: moriyoshi
 [2011-07-20 00:33 UTC] moriyoshi@php.net
Automatic comment from SVN on behalf of moriyoshi
Revision: http://svn.php.net/viewvc/?view=revision&revision=313464
Log: - Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.
 [2011-07-20 00:57 UTC] moriyoshi@php.net
-Status: Assigned +Status: Closed
 [2011-07-20 00:57 UTC] moriyoshi@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of moriyoshi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=81cd23df4a6a0bc6f7dbbafd12223475444147a3
Log: - Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of moriyoshi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=81cd23df4a6a0bc6f7dbbafd12223475444147a3
Log: - Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.
 [2013-11-17 09:37 UTC] laruence@php.net
Automatic comment on behalf of moriyoshi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=81cd23df4a6a0bc6f7dbbafd12223475444147a3
Log: - Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Dec 04 17:01:23 2020 UTC