So I read The Little MongoDB Book. Did all the examples just using the commandline interface. All is well, right?
No. I can't get mongo to respond to a simple php script. Here's the error I get:
Fatal error: Class 'MongoClient' not found in /var/www/testMongo.php on line 10
...Here's the script name/URL: http://220.127.116.11/testMongo.php
After each change I made, I did this:
sudo service mongod restart (this shouldn't make a difference, so I only tried it once)
sudo service apache2 restart