Installing Mongo PHP driver on CentOS 6 cPanel Print

  • 0

In order to get the Mongo driver for PHP working, you need to install it manually.

mkdir mongo
cd mongo
unzip master
cd mongodb-mongo-php-driver-df8b217    -----> Make sure that you have the correct folder (please see the above unzipped)
make install

Add the extension to your php.ini file.

Restart Apache, and Mongo should appear inf your phpinfo() output.

Was this answer helpful?

« Back