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://22.214.171.124/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