在 https://pecl.php.net/ 查找要要下载的扩展源码,
这里以MongodB扩展为例。
在 https://pecl.php.net/package/mongo 下载mongodb数据库驱动源码。然后编译安装。
wget -c https://pecl.php.net/get/mongo-1.6.10.tgz
tar zxvf mongo-1.6.10.tgz
cd mongo-1.6.10
phpize --clean
phpize
./configure
make
make install