安装pecl_http失败

时间:2015-04-17 08:52:27

标签: php ubuntu pecl

我使用的是Ubuntu 14

当我执行以下命令时:

sudo pecl install pecl_http

我有以下错误:

WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading pecl_http-2.4.3.tgz ...

Starting to download pecl_http-2.4.3.tgz (188,540 bytes)
.........................................done: 188,540 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/pecl_http-2.4.3.tgz"
Download of "pecl/pecl_http" succeeded, but it is not a valid package archive
Error: cannot download "pecl/pecl_http"
downloading raphf-1.0.4.tgz ...
Starting to download raphf-1.0.4.tgz (7,232 bytes)
...done: 7,232 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/raphf-1.0.4.tgz"
Download of "pecl/raphf" succeeded, but it is not a valid package archive
Error: cannot download "pecl/raphf"
downloading propro-1.0.0.tgz ...
Starting to download propro-1.0.0.tgz (6,217 bytes)
...done: 6,217 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/propro-1.0.0.tgz"
Download of "pecl/propro" succeeded, but it is not a valid package archive
Error: cannot download "pecl/propro"
Download failed
install failed

你能帮我吗?

1 个答案:

答案 0 :(得分:0)

解决此问题。 我的SE Ubuntu是32位。 所以我传递了一个64位操作系统