一、下载、编译以及安装MongoDB的php扩展
cd /data0/software git clone git://github.com/mongodb/mongo-php-driver cd mongo-php-driver git submodule init git submodule update /usr/local/webserver/php/bin/phpize ./configure --with-php-config=/usr/local/webserver/php/bin/php-config make make install