Mongostead7 icon indicating copy to clipboard operation
Mongostead7 copied to clipboard

Mongodb.ini is corrupt, not properly referenced in php and nginx conf.d, Class 'MongoDB\Driver\Manager'

Open dannysood opened this issue 8 years ago • 0 comments

The mongodb.ini files should be referenced/linked (ln -s) in the following locations /etc/nginx/conf.d/30-mongodb.ini, /etc/php/7.1/fpm/conf.d/30-mongodb.ini and /etc/php/7.1/cli/conf.d.30-mongodb.ini. However it just gets copied to the location where the script is initialized from. I ended up copying them manually. Also the mongodb.ini in mods-available (location linked from) is also corrupted. With the comment on the first line not showing up as a comment. As a result without these fixes the error Class 'MongoDB\Driver\Manager' was being shown. @zakhttp

dannysood avatar Apr 30 '17 19:04 dannysood