FYI: I uninstalled Apache 2.2.3 and installed Apache 1.3.x via ports and now 
everything works flawlessly. I made zero other changes on the system between 
working and not working, so there either is a bug or something "wierd".

I was running dnstop  and when asking the server to do "hostnamelookups on" or 
DNS lookups inside the php module is was generating 0 DNS requests to 
anywhere.

Now, with 1.3 installed dnstop is showing plenty of traffic.

\On Thursday 09 November 2006 15:27, Henrik Hudson <[EMAIL PROTECTED]> sent a 
missive stating: 
> Hey List-
>
> running: apache 2.2, freebsd 6.2 and php 4.4.4
>
> I've got a wierd issue. I've got a script that does this:
>
> $domain = "www.google.com";
> $ip = gethostbyname($domain);
> echo $ip;
>
> $hostname = gethostbyaddr("72.14.205.99");
> echo $hostname;
>
>
> Using dig, ping, etc... to confirm name resolution is working works fine.
> Running that script from the CLI is fine (ie: php test.php). However, when
> running from the web it doesn't work.
>
> I tried it on a php 5.1.x box and it works fine there.
>
> Thoughts?
>
>
> Henrik
> --
> Henrik Hudson
> [EMAIL PROTECTED]
> ------------------------------
> "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/)

-- 
Henrik Hudson
[EMAIL PROTECTED]
------------------------------
"God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/)

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

Reply via email to