title: Uncaught Error: Class 'MongoClient' not found
body: <p>Trying to create a new Mongo connection using the following:
  <code>$client = new Mongo();</code></p>
  
  <p>Sadly, this results in the following error: "Uncaught Error: Class 'Mongo' not found in". I've also tried MongoClient, just in case this is the issue.</p>
  
  <p>To make things more confusing, running phpinfo() in the same file results in the following.
  <a href="https://i.stack.imgur.com/CACEm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CACEm.png" alt="enter image description here"></a></p>
  
  <p>Any help would be greatly appreciated.</p>