Bug #11058 Updated: php_network_getaddresses: getaddrinfo failed

From: Date: Wed, 03 Apr 2002 21:27:08 +0000
Subject: Bug #11058 Updated: php_network_getaddresses: getaddrinfo failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3957@lists.php.net to get a copy of this message
ID: 11058 Updated by: g.almasi@gigcity.com Reported By: pat@mail.rit.edu Status: Bogus Bug Type: Network related Operating System: OpenBSD 2.6 PHP Version: 4.0.6 New Comment: Well you can tell I had nothing to do today but beat my head against a wall. But I found a solution! I added my target site to /etc/hosts and restarted apache, and now I can include a page in that target site from a different site. It's Miller Time! <psht, glug glug glug> Previous Comments: ------------------------------------------------------------------------ [2002-04-03 16:20:32] wez@php.net And that is the cause of the problem (and the reason that this report is set to bogus). You need to tell your SuSE box how to resolve the addresses; the SuSE yast tool should let you set the nameserver in it's network configuration. I can't help you any further here, and this is not the place to discuss this further. I'd suggest looking at the SuSE support database for this: it's bound to be a FAQ. ------------------------------------------------------------------------ [2002-04-03 15:58:04] g.almasi@gigcity.com another note: I have root to another box (it serves about 20 sites to the web) that is also running PHP 4.0.6 and php_network_getaddresses works fine. Does this function require a nameserver? My SuSE 7.3 box is a development machine on my LAN, so I just use proxies to get to it with a browser. Getting DNS, BIND, and DHCP to work was beyond me when I set it up (still is, actually). So I just use a proxy setting for browsers while I build sites. ------------------------------------------------------------------------ [2002-04-03 14:18:22] g.almasi@gigcity.com So I just tried changing a line in /etc/modules.conf: - From "alias net-pf-10 off" - To "alias net-pf-10 ipv6" I rebooted the box and I still had this problem happening. ------------------------------------------------------------------------ [2002-04-03 14:03:19] g.almasi@gigcity.com Is this setting in /etc/rc.config? ------------------------------------------------------------------------ [2002-04-03 11:34:09] wez@php.net In your OS config that is. ------------------------------------------------------------------------ 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/11058 -- Edit this bug report at http://bugs.php.net/?id=11058&edit=1

« previous php.bugs (#3957) next »