It means you are using the wrong classes, the new drivers have a different class hierarchy and namespace. Mongo is the connection class name for a very very old legacy driver, pre MongoClient
You need to be using the new MongoDb\Driver classes
http://docs.php.net/manual/en/set.mongodb.php
mongoDB support is re-enabled in phpinfo() - I had a syntax error after adjusting the error reporting in php.ini.
So back to square one. How to make a simple PHP query of a mongoDB instance after installing the appropriate PHP driver?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/phcPSWv5mV8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CACypnJWXcEVYQPg9rF%3DukSufr9Z4zppAp9AMfDEdRpxfQfO_CA%40mail.gmail.com.