I've already installed mongoDB on my VPS. It works well.
Now I want to install php driver to make php work with mongoDB.
I followed Mongo Installation but cannot find information I need. This manual contains only this notice:
If you are using CentOS or Redhat, Csoke Arpad created » RPMs for these distributions (PHP Mongo).
I'm not familiar with ssh commands on CentOS and distributions (what is it?). Can anyone help me install this php extension? Please provide all ssh commands needed to install it.
Thank you.
Try Justin's solution first with pecl (you'll want to use yum rather than aptitude to install php-devel), but if that doesn't work, I happen to have the manual build procedures on hand already for my own deploy reference. :)
Installing the PHP MongoDB driver
As root: