On 7/13/07, William Sang Lee <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to install a package using SSH because my Web-based PEAR is not
working. So, I type in "pear install Date." But, it only says
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Non-recoverable failure in name resolution in RPC.php on line 464
Warning: fsockopen(): unable to connect to pear.php.net:80 in RPC.php on
line 464
xml_rpc_client: Connection to RPC server pear.php.net failed
What do I do?
Thanks
You seem to have a problem with the DNS server of your server, does:
ping pear.php.net
give you the IP address of a pear server or does it fail?
90% sure that it will fail, and probably because there's a wrong
configuration setting for DNS. (DNS is for hostname-> IP conversion).
If you can't fix the DNS, you can always modify RPC.php, to change
pear.php.net to 216.92.131.66, which is the IP if I ping pear.php.net.
Note that this isn't a fix, but only a workaround, and the IP of the
pear server might change someday and then your stuck with the old IP.
So really try to fix the DNS problem..
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php