• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Error occurred while applying global PHP setting

Zoler0

New Pleskian
Hello Parallels Plesk Forum,

I'm trying to install the PHP-module MongoDB for PHP-FPM 7.0.3.

I installed the extension using:
/opt/plesk/php/7.0/bin/pecl install mongodb

And resulted into:
Build process completed successfully
Installing '/opt/plesk/php/7.0/lib64/php/modules/mongodb.so'

Now when I try to enable the extension:
933df56539.png


I get:
8c84b45fb8.png

"Error occurred while applying global PHP setting to domains."

Where can i find these error logs? Or how to do this by commandline?

Kind regards,
Joost
 
It worked after shutting down:
php-fpm: master process (/opt/plesk/php/7.0/etc/php-fpm.conf)

And applying again.

Fixed!
 
Hi forum -
Having an issue installing a custom php extension here. Followed this thread and executed /opt/plesk/php/5.6/bin/pecl install crypto-0.2.2 which seemed to work well:

Build process completed successfully
Installing '/opt/plesk/php/5.6/lib/php/modules/crypto.so'
install ok: channel://pecl.php.net/crypto-0.2.2
configuration option "php_ini" is not set to php.ini location
You should add "extension=crypto.so" to php.ini

But when I go to plesk panel, the crypto extension does not show up in the list of modules that can be activated.

I tried rebooting and creating /opt/plesk/php/5.6/php.d/crypto.ini with no luck

Thanks in advance
Dave
 
Back
Top