pear安装模块出现报错——could not extract the package.xml

pear安装模块出现could not extract the package.xml file


[root@localhost ~]# pear install Net_Socket-1.0.14.tgz
could not extract the package.xml file from Net_Socket-1.0.14.tgz

怀疑php没有zip之类的参数,需要手动解压,再进行安装,非常的浪费时间啊:

tar -axf Net_Socket-1.0.14.tgz -C /usr/local/src/
cd  /usr/local/src/Net_Socket
pear install package.xml

你可能感兴趣的:(PHP,mail,PEAR)