I'm trying to install the MongoDB PHP driver, but I'm getting an unexpected error. When I run: pecl install mongo
I get this:
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
when I try to install php5-dev, it says that I already have the latest version, same thing if I run: apt-get install php5-dev php5-cli php-pear
Thank you.