MediaTemple DV Server上的APC安装错误

时间:2014-08-31 10:09:23

标签: linux apc pecl mediatemple

您好我正在尝试通过pecl在mediatemple DV服务器上安装APC,但我收到此错误。有人可以帮忙吗?

[root@klph-jyj2 ~]# mkdir -p /root/chroot /root/tmp
[root@klph-jyj2 ~]# mount --bind / /root/chroot
[root@klph-jyj2 ~]# mount --bind /root/tmp /root/chroot/tmp
[root@klph-jyj2 ~]# chroot /root/chroot
[root@klph-jyj2 /]# pecl install apc
downloading APC-3.1.13.tgz ...
Starting to download APC-3.1.13.tgz (Unknown size)
....done: 3,582 bytes
Could not get contents of package "/tmp/pear/download/APC-3.1.13.tgz". Invalid tgz file.
Download of "pecl/apc" succeeded, but it is not a valid package archive
Error: cannot download "pecl/APC"
Download failed
install failed

安装失败

1 个答案:

答案 0 :(得分:0)

Googling for the error message,我发现一些结果表明Ubuntu中存在错误。

显然有一些解决方法,最简单的是安装未压缩版本:

pecl install -Z apc