PECL安装失败的opcache

时间:2014-08-31 17:20:05

标签: php debian pecl

我在安装zendopcache时遇到问题。当我跑步时

pecl install zendopcache-7.0.3

我得到以下内容:

downloading zendopcache-7.0.3.tgz ...
Starting to download zendopcache-7.0.3.tgz (Unknown size)
....done: 3,582 bytes
Could not get contents of package "/tmp/pear/download/zendopcache-7.0.3.tgz". Invalid tgz file.
Download of "pecl/zendopcache" succeeded, but it is not a valid package archive
Error: cannot download "pecl/zendopcache"
Download failed
install failed

我一直在寻找类似的问题,我发现了一些关于在安装命令中添加-Z的建议。这似乎只是将请求文件的名称从zendopcache-7.0.3.tgz更改为zendopcache-7.0.3.tar,但输出保持不变(是的,它仍然抱怨.tar不是有效的.tgz)

我使用PHP 5.4.4-14 + deb7u14运行Debian 7 Wheezy

我已经看到报道了类似的问题,但没有一个有可靠的答案。

有人可以帮忙吗?

谢谢!

1 个答案:

答案 0 :(得分:0)

似乎pecl& amp;梨服务器。没关系