php mongo扩展卸载,求助安装 php mongo 扩展

pecl install mongo 报错

[email protected]:/etc/php5/apache2# pecl install mongo

WARNING: "pecl/mongo" is deprecated in favor of "channel:///mongodb"

downloading mongo-1.6.12.tgz ...

Starting to download mongo-1.6.12.tgz (209,252 bytes)

.............................................done: 209,252 bytes

118 source files, building

running: phpize

sh: 1: phpize: not found

If the command failed with 'phpize: not found' then you need to install php5-dev packageYou can do it by running 'apt-get install php5-dev' as a root userERROR: `phpize' failed

按照他的提示安装 php5-dev

[email protected]:/etc/php5/apache2# apt-get install php5-dev

Do you want to continue? [Y/n] y

Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main shtool all 2.0.8-6 [149 kB]

Fetched 159 kB in 0s (402 kB/s)

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/s/shtool/shtool_2.0.8-6_all.deb Size mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

安装不上求助怎么能安装好

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值