wget http://pecl.php.net/get/mongo-1.3.6.tgz
/usr/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
/usr/local/php/etc/php.ini
extension=mongo.so;
wget http://pecl.php.net/get/mongo-1.3.6.tgz
/usr/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
/usr/local/php/etc/php.ini
extension=mongo.so;
转载于:https://my.oschina.net/jiangbianwanghai/blog/857780