• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question MongoDb php

Simpleweb

New Pleskian
Hello to all,
i have a local test installation with ubuntu 14.04 and plesk 12.5
How can i install php driver for mongodb? I need a simple how to (i'm new) to install mongodb into my server.
Thanks
 
For CentOS and PHP7.0:

# yum install plesk-php70-devel make gcc openssl-devel
# /opt/plesk/php/7.0/bin/pecl install mongodb
# echo "mongodb.so" > /opt/plesk/php/7.0/etc/php.d/mongodb.ini
# plesk bin php_handler --reread
 
Thanks but I'm on ubuntu 14.04 and I have multiple php version but I'm using 5.6 only. Can u tell me how can I do?

Inviato dal mio GT-I9505 utilizzando Tapatalk
 
Not sure about Ubuntu, but I think it should be something like

# apt-get install gcc make libssl-dev plesk-php56-dev
# /opt/plesk/php/5.6/bin/pecl install mongodb
# echo "mongodb.so" > /opt/plesk/php/5.6/etc/php.d/mongodb.ini
# plesk bin php_handler --reread
 
For CentOS and PHP7.0:

# yum install plesk-php70-devel make gcc openssl-devel
# /opt/plesk/php/7.0/bin/pecl install mongodb
# echo "mongodb.so" > /opt/plesk/php/7.0/etc/php.d/mongodb.ini
# plesk bin php_handler --reread
How to install for php5.6 in cent os?
 
Hi Muthukumar,

How to install for php5.6 in cent os?
this doesn't differ much from the example, given by IgorG.
Code:
# yum install plesk-php56-devel make gcc openssl-devel
# /opt/plesk/php/5.6/bin/pecl install mongodb
# echo "mongodb.so" > /opt/plesk/php/5.6/etc/php.d/mongodb.ini
# plesk bin php_handler --reread
 
Back
Top