• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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