php5.3.3安装mongo扩展

/usr/bin/phpize
./configure --with-php-config=/usr/bin/php-config
make && make install
/usr/sbin/apachectl stop
/usr/sbin/apachectl start
需要升级pear。命令是pear upgrade。

发现一个bug,php5.3.3只支持mongo1.4.5

原文地址:https://www.cnblogs.com/usual2013blog/p/3754935.html