我有一个带有 PHP 5.5.4 的新 EC2 实例,我正在尝试从 Pear 安装 Predis。每次我尝试从 pear 安装 Predis 时,都会出现以下错误。
任何人都知道为什么会发生这种情况?我用谷歌搜索了很多解决方案,但我找不到答案
root@ip-xxx-xx-xx-xxx:/etc/nginx# pear install nrk/Predis
downloading Predis-0.8.4.tgz ...
Starting to download Predis-0.8.4.tgz (177,785 bytes)
.....................................done: 177,785 bytes
Parsing of package.xml from file "/tmp/pear/temp/pearxTtEHW/package.xml" failed
Download of "nrk/Predis" succeeded, but it is not a valid package archive
Error: cannot download "nrk/Predis"
Download failed
install failed