Re: gethostbyname failing?

From: Date: Thu, 09 Nov 2006 22:58:14 +0000
Subject: Re: gethostbyname failing?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-244451@lists.php.net to get a copy of this message
maybe this is related: from http://de3.php.net/manual/en/function.gethostbyname.php (user comments) >>> christian at SPAM at IS at DEAD at MEAT at karg dot org 01-Apr-2003 02:12 I had difficulty getting gethostbyname to work under OpenBSD 3.2 and Apache, until I discovered that the default Apache chroot caused the problem. To get PHP's gethostbyname to work, you need resolv.conf (and possibly hosts) in /var/www/etc (assuming default install dirs). <<< -- View this message in context: http://www.nabble.com/gethostbyname-failing--tf2604272.html#a7268131 Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#244451) next »