My development machine is on Ubuntu 16.04, and we use php5.6. I followed this guide to install php5.6.
now, I'm trying to install the mongodb PHP driver through PECL, however when I run
pecl install mongodb
this error comes up:
Starting to download mongodb-1.1.8.tgz (806,900 bytes)
.....................................................done: 806,900 bytes
360 source files, building
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed
I found out through this question that I have to do
sudo apt-get install php5-dev
however, php5-dev is no longer available, and is apparently not included with ondrej's php5.6 PPA.