0

我正在全新安装 Ubuntu 14.04 LTS,但由于错误无法安装 firephp:

#pear install firephp/FirePHPCore

downloading FirePHPCore-0.3.2.tgz ...
Starting to download FirePHPCore-0.3.2.tgz (25,019 bytes)
.........done: 25,019 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/FirePHPCore-0.3.2.tgz"
Download of "firephp/FirePHPCore" succeeded, but it is not a valid package archive
Error: cannot download "firephp/FirePHPCore"
Download failed
install failed

我已经以相同的方式在其他几台服务器上安装了它,没有任何问题,但它们都在运行 Ubuntu 12 或更早版本。

关于如何使它工作的任何建议?

4

3 回答 3

2

使用选项 --nocompress

pecl install --nocompress 包名

是唯一对我有用的解决方案。

于 2014-11-20T11:39:35.457 回答
1

这对我来说很好用:

$ sudo pear install firephp/FirePHPCore
downloading FirePHPCore-0.3.2.tgz ...
Starting to download FirePHPCore-0.3.2.tgz (25,019 bytes)
.........done: 25,019 bytes
install ok: channel://pear.firephp.org/FirePHPCore-0.3.2

您使用的是哪个版本的 PEAR?

$ pear version
PEAR Version: 1.9.4
PHP Version: 5.5.3-1ubuntu2.3
Zend Engine Version: 2.5.0

如有必要,您可能需要升级。

于 2014-06-03T12:45:44.740 回答
1

您在使用 PHP 5.5.x 的 Archive_Tar 中遇到了一个错误。

请参阅我的博客文章了解如何解决它。

于 2014-06-30T09:25:37.947 回答