php安装pear出错,新人求指导!
Fedora下利用go-pear安装pear,出现以下警告:Warning:fsockopen():php_network_getaddresses:getaddrinfo failed:Temporary failure in name resolution in /usr/local/php/bin/go-pear/php on line 1036
Warning:fsockopen():unable to connect to svn.php.net:80(php_network_getaddresses:getaddrinfo failed:Temporary failure in name resolution) in /usr/local/php/bin/go-pear/php on line 1036
没联网吧。打不开svn.php.net阿。 回复 2# imbiss
pear安装必须要联网吗?我是下载了pear1.9.1.tar.gz的安装包,我这里没法上网,请问有什么办法吗
回复 1# alex8833
看一下你的服务器上域名解析是否正常,还有网络是否能连接外网,防火墙等! 回复 3# alex8833
虽然不是必须,至少联网安装非常方便,因为很多包是不在标准安装包内的,而且有版本的问题。建议联网安装。
离线安装,参照手册,命令如下Offline installation
You can download individual packages for e.g. offline installation on a second machine just as you would install or upgrade a package:
$ pear download Foo
After downloading, you will have a file like Foo-1.2.3.tgz if the latest version of Foo was 1.2.3. Installing it is as easy as typing
$ pear install Foo-1.2.3.tgz
页:
[1]