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?
安装不上求助怎么能安装好