• 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

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