Once again, the PECL installer. In order to get the Mongo driver for PHP working, you need to install it manually.
mkdir mongo cd mongo wget https://github.com/mongodb/mongo-php-driver/zipball/master unzip master cd mongodb-mongo-php-driver-df8b217 phpize ./configure make install
Add the extension to your php.ini file.
extension=mongo.so
Restart Apache, and Mongo should appear inf your phpinfo() output.
Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.
Tags: centos, cpanel, mongo, nosql, pecl, PHP, whm
This entry was posted on Monday, September 17th, 2012 at 10:29 pm and is filed under Life, Tech. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.