• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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