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
https://forums.phpfreaks.com/topic/114253-php_network_getaddresses-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.