I want to use the MongoDB Driver, but it throw me an error, when i use it:
$mongo = new MongoDB\\Driver\\Manager(\"mongodb://localhost:27017\");
For me, I forgot to add extension=mongodb.so to the php.ini for FPM (FastCGI Process Manager). On Ubuntu 16.04 this was at:
extension=mongodb.so
php.ini
/etc/php/7.0/fpm/php.ini
For what it's worth I'm using nginx.