[root@ss2 php.d]# /opt/plesk/php/7.4/bin/pecl config-set php_prefix /opt/plesk/php/7.4/bin/
config-set succeeded
[root@ss2 php.d]# /opt/plesk/php/7.4/bin/pecl install mongodb
pecl/mongodb is already installed and is the same as the released version 1.12.0
install failed
And add...
Hi Rasp.
[root@ss2 ~]# cd /
[root@ss2 /]# cd /opt/plesk/php/7.0/etc/
-bash: cd: /opt/plesk/php/7.0/etc/: No existe el fichero o el directorio
[root@ss2 /]# service php7.4-fpm restart
Redirecting to /bin/systemctl restart php7.4-fpm.service
Failed to restart php7.4-fpm.service: Unit not found...
Hi :)
I have a server with Plesk and Centos 7.
I configured a domain to PHP version 7.4 and wanted to add the mongodb extension to it.
Well I ended up installing the mongodb extension to the server by executing: php -r "phpinfo();" mongo appears on the server
MongoDB support => enabled
MongoDB...