Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Server knows, PHP not without /etc/hosts !?

Joe Orton jorton at redhat.com
Thu Jan 27 18:43:56 UTC 2005


On Wed, Jan 26, 2005 at 05:40:59PM +0000, M.Clasen wrote:
> Hello List,
> 
> my server got a problem with PHP and fsockopen() .
>  
> To reduce traffic, i post the informations on fedoraforum.org at:
> 
> http://www.fedoraforum.org/forum/showthread.php?p=157982#post157982
> 
> i need help with this.

It looks like a resolver configuration error.  What does:

$ grep hosts /etc/nsswitch.conf

say, and what are the contents of /etc/resolv.conf?

joe




More information about the users mailing list