• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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