• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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