Install MongoDB driver for PHP 5.6 on CentOS6

To install Mongo DB on CentOS6 and PHP5.6 add the following:

yum -y install php56w-pear
yum -y install php56w-devel
pecl install mongo

Then add:

"extension=mongo.so" to php.ini

References