• 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.

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