Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dannysood opened this issue Apr 30, 2017 · 0 comments

Comments

@dannysood
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant