Re: gethostbyname failing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux