note 30852 added to function.gethostbyname

From: Date: Tue, 01 Apr 2003 10:12:30 +0000
Subject: note 30852 added to function.gethostbyname
Groups: php.notes 
Request: Send a blank email to php-notes+get-46059@lists.php.net to get a copy of this message
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). -- http://www.php.net/manual/en/function.gethostbyname.php http://master.php.net/manage/user-notes.php?action=edit+30852 http://master.php.net/manage/user-notes.php?action=delete+30852 http://master.php.net/manage/user-notes.php?action=reject+30852

« previous php.notes (#46059) next »