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

Mongo DB Support #281

Closed
vicdvp opened this issue Mar 18, 2023 · 3 comments
Closed

Mongo DB Support #281

vicdvp opened this issue Mar 18, 2023 · 3 comments
Assignees

Comments

@vicdvp
Copy link

vicdvp commented Mar 18, 2023

How would I add MongoDB plugins for PHP? I've got the docker image running and tried installing 2 different ways via the command line of the nginx-php-fpm container itself.

  1. I've tried adding as per the documentation on PHP Modules using docker-php-ext-configure but that doesn't work (error - Possible values for ext-name and mongodb's not in the list)

  2. I also tried the pecl install mongodb method but that also didn't work (Cannot find autoconf and phpize failed)

Would I have to add the pecl method to the Dockerfile the same way you add redis and xdebug and build a new image?

@richarvey
Copy link
Owner

I'll have a go at this and let you know asap.

@richarvey richarvey self-assigned this Mar 20, 2023
@richarvey
Copy link
Owner

I'm adding support for this in version 3.1.3

@vicdvp
Copy link
Author

vicdvp commented Mar 21, 2023

Thank you so much. I've downloaded and tested connecting and reading from both remote (MongoDB Atlas) and local (Docker instance) and it works perfectly.

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

No branches or pull requests

2 participants