<分区>
我正在尝试安装 MongoDB PHP 驱动程序,但出现意外错误。当我运行:pecl install mongo
我得到这个:
downloading mongo-1.4.5.tgz ...
Starting to download mongo-1.4.5.tgz (141,417 bytes)
..............................done: 141,417 bytes
84 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
shtool at '/tmp/pear/temp/mongo/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.
If the command failed with 'phpize: not found' then you need to install php5-dev package
You can do it by running 'apt-get install php5-dev' as a root user
ERROR: `phpize' failed
当我尝试安装 php5-dev 时,它说我已经有最新版本,如果我运行同样的事情:apt-get install php5-dev php5-cli php-pear
谢谢。