Posts: 1
Registered: ‎10-14-2019

Enabling MongoDB extension Debian 10

Hello everyone,,


I have followed the MongoDB module installation steps on the manual. MongoDB is running fine but I can't seem to get the extension running in PHP 7.2.

when I enter "php -m" "mongodb" comes up in the list of PHP modules. But in my phpinfo() there is no mongo section. I've also added "" to my php.ini in my /etc/php/7.2/fpm" directory. Restarted nginx and php7.2-fpm.

I have also added a "mongo.ini" file to /etc/php/7.2/mods-available which has ""

I have run out of ideas at this point and aren't finding anything else on Google that I can try.

Thank you so much in advance.

Posts: 1
Registered: ‎10-15-2019

Re: Enabling MongoDB extension Debian 10

To install the mongodb extension, do: sudo apt-get install php-mongodb talktowendys.