Re: gethostbyname failing?

From: Date: Fri, 10 Nov 2006 03:28:00 +0000
Subject: Re: gethostbyname failing?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-244458@lists.php.net to get a copy of this message
Henrik Hudson wrote:
Thanks for the input everyone. It seems it Apache itself can't do lookups either (ie: Hostnamelookups On ..doesn't actually do anything..so, going to hunt down the issues inside Apache...) funny thing is I've got a test server with the same exact port versions and almost identical config files, so..I don't know...perl scripts and php from the CLI work fine..so my actual DNS resolution is working okay..just Apache is losing it somewhere...if anyone has some thoughts..let me know :)
Hostname lookups has *nothing* to do with this issue. It only affects apache. http://httpd.apache.org/docs/1.3/mod/core.html#hostnamelookups As someone else mentioned, freebsd has issues with this stuff when it's running inside a chroot'ed environment. Are you running in a chroot'ed or selinux or anything like that? -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#244458) next »