Installation of PHP MongoDB extenstion:

wget “http://pecl.php.net/get/mongo-1.2.10.tgz
tar xzf mongo-1.2.10.tgz
cd mongo-1.2.10/
/usr/local/php/bin/phpize
./configure –with-php-config=/usr/local/php/bin/php-config
make
sudo make install

Add extension=mongo.so in php.ini
vim /usr/local/php/lib/php.ini

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive

Connect