Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gnabin01's avatar

MongoDB PHP Driver installation

I am trying to add mongodb php driver . I have php version 5.5.12 and apache x64 . I enabled it in php.ini file (extension=php_mongo.dll) and downloaded the php_mongo.dll and placed in ext folder inside PHP and restart the apache server .But doesn't work. When i check in phpinfo() it doen't show about mongodb. I tried many time changing different version of mongodb driver but can't get the solution.Does anyone have the solution for this?? Thanks in advance.

0 likes
1 reply
JillzTom's avatar

add the extension in cli folder php.ini as well as fpm folder and do an fpm restart. It should work then ...

Please or to participate in this conversation.