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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to