Jump to content

php_network_getaddresses error


prakash

Recommended Posts

Hi,

 

I am using SOAP on PHP to get data from SOAP WSDL.

The same script works on my local machine having PHP 5.2.5 with SOAP Extension Installed

But when I upload it to online (Webserver) having PHP 5.2.6 with SOAP extension installed I get following error:

 

===================================================================

Warning: SoapClient::SoapClient() [soapclient.soapclient]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/XXXX/public_html/test/index.php on line 164

 

Warning: SoapClient::SoapClient(WSDL FILE LOCATION) [soapclient.soapclient]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/XXXX/public_html/test/index.php on line 164

 

Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "WSDL FILE LOCATION" in /home/XXXX/public_html/new_1/index.php on line 164

===================================================================

 

can anyone help me what exactly is that? Is this a bug on 5.2.6 ??

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.