#30057 [Fbk->Opn]: IPv6 support broken

From: Date: Sat, 11 Sep 2004 17:05:55 +0000
Subject: #30057 [Fbk->Opn]: IPv6 support broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66062@lists.php.net to get a copy of this message
ID: 30057 User updated by: neon at neon-line dot net Reported By: neon at neon-line dot net -Status: Feedback +Status: Open Bug Type: Sockets related Operating System: FreeBSD 4.10 PHP Version: 5.0.1 New Comment: http://www.neon-line.net/dev/config.log There's not much information about this issue, at least I couldn't find. And the code in configure.in that checks for getaddrinfo seems more or less like glue, but there's propably a reason for it to be that way :) Previous Comments: ------------------------------------------------------------------------ [2004-09-11 18:45:42] pollita@php.net Scratch that, it'll definately show undefined, the question is why. Can you just post your config.log file somewhere? Or email it to me? ------------------------------------------------------------------------ [2004-09-11 18:45:29] neon at neon-line dot net It was: /* #undef HAVE_GETADDRINFO */ After I added #define HAVE_GETADDRINFO 1 and removed #define HAVE_GETHOSTBYNAME2 1 Everything worked just fine with those modifications, so after all it is a bug in the configure script. ------------------------------------------------------------------------ [2004-09-11 18:35:52] pollita@php.net grep HAVE_GETADDRINFO main/php_config.h ------------------------------------------------------------------------ [2004-09-11 11:50:50] neon at neon-line dot net Configure command used: ./configure --disable-all --enable-ipv6 \ --with-apxs2=/path/to/apxs2 grep "IPv6" config.log configure:16103: checking for IPv6 support configure:17764: checking whether to enable IPv6 support phpinfo: IPv6 Support => enabled I don't see much more that I could have done in order to enable the IPv6 support. Maybe the --disable-all statement causes this problem? ------------------------------------------------------------------------ [2004-09-11 11:37:04] wez@php.net Check your configure output and config.log for stuff related to IPv6; it looks like PHP isn't actually using IPv6 at all. (gethostbyname is IPv4; PHP would use getaddrinfo for IPv6) ------------------------------------------------------------------------ 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 http://bugs.php.net/30057 -- Edit this bug report at http://bugs.php.net/?id=30057&edit=1

« previous php.bugs (#66062) next »