Connecting Tech Pros Worldwide Help | Site Map

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known

  #1  
Old October 17th, 2006, 09:25 AM
Henry16@2cuk.co.uk
Guest
 
Posts: n/a


Never seen such a situation !

Do you have once faced this problem ?

We use a fsockopen to retrieve a content from a URL [fsockopen ($url,
80, $errno, $errstr, 5);]. The content is dispalid corretly on a page
on one of our servers.
But on an other server (more-or-less same config.) the content is not
displaid !! with the error message ::

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Name or service not known in /home/virtual/site1/fst/var/www/html/..php
on line 46

A config. probem of PHP or Linux server ? Never seen that in the past !

Many thanks for any comment or operating solutions.

Henry.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known Henry16@2cuk.co.uk answers 1 October 17th, 2006 06:35 PM
fsockopen commands Syl answers 1 August 2nd, 2006 12:05 AM
Open a https url on a special port ? (asp/ajax inside) Arnaud answers 6 March 20th, 2006 09:25 AM
getaddrinfo failed Steve answers 2 July 17th, 2005 08:06 AM