Mongo DB Support #281
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ric/nginx-php-fpm#281
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
I've tried adding as per the documentation on PHP Modules using
docker-php-ext-configurebut that doesn't work (error - Possible values for ext-name and mongodb's not in the list)I also tried the
pecl install mongodbmethod 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?
I'll have a go at this and let you know asap.
I'm adding support for this in version 3.1.3
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.