[php-maint] IPv6 support in PHP5

Thomas Goirand thomas at goirand.fr
Sun Jan 29 20:32:44 UTC 2012


Hi,

Trying to fix #628659 lead me to:
http://pear.php.net/bugs/bug.php?id=18231

and then to:
bugs.php.net/bug.php?id=49493

Then i did a quick test, using php5 in SID, doing the following:
echo gethostbyname("ipv6-ftp.gplhost.com");

displays: ipv6-ftp.gplhost.com instead of:
2403:cc00:5000:0:200:20ff:fe01:101

while the following:
echo gethostbyname("ftparchive.gplhost.com");

returns the correct IP address.

However, there is a HAVE_IPV6 in the configure.in and in many places, so
it seems that in some way, PHP supports v6.

Is there something we missed?

Cheers,

Thomas




More information about the pkg-php-maint mailing list