0
我在安裝zendopcache時遇到了問題。當我運行PECL安裝失敗opcache
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) 。
我運行Debian 7喘息與PHP 5.4.4-14 + deb7u14
我已經看到報道了類似的問題,但什麼都沒有工作的答案。
有人可以幫忙嗎?
謝謝!