• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue Unable to install php driver for mongodb

Muthukumar

New Pleskian
I am using Plesk Onyx 17.0.17 and selected php version is 5.6, i am unable to install mongo.so, if check terminal means that shows "mongo.so'", but i am unable to connect via php, i think multple versions of PHP makes conflict,
Kindly suggest any solution..?
 
By default there is no mongo module loaded for Plesk PHP5.6 version:

# /opt/plesk/php/5.6/bin/php -m | grep mongo
#

You can compile by yourself it with

# yum install plesk-php56-devel gcc make
# /opt/plesk/php/5.6/bin/pecl install mongo
# echo "extension=mongo.so" > /opt/plesk/php/5.6/etc/php.d/mongo.ini
# plesk bin php_handler --reread

After that you can see that mongo.so module is loaded:

# /opt/plesk/php/5.6/bin/php -m | grep mongo
mongo
 
Back
Top