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

Issue Unable to change php.ini "disable_functions" globally

Lucius0101

New Pleskian
Hello! I'm having a issue while trying to change to all domains the "disable_functions" via "Tools & Settings -> PHP Settings -> php.ini", following this tutorial.

I see that have a bug related, but it's about Plesk Onyx 17.8, and their suggests dosen't makes effect to me, but I can't find "Update & Sync" too, so I don't know if is because the difference of versions.
  • OS: ‪Ubuntu 18.04.4 LTS‬
  • Product: Plesk Obsidian 18.0.25
How I can fix that?

Thanks!
 
Add the following rows to the end of the /usr/local/psa/admin/conf/panel.inifile:

Code:
[php]

settings.general.disable_functions.values[] =
settings.general.disable_functions.default =

Run the following command:

Code:
# plesk bin php_settings --update-all

As a result, the disable_functions will be updated for all domains to "disable_functions = " and the possibility to edit the disable_functions directive via GUI will disappear (actually, only an empty value will be available for selection)

Moreover, all newly created subscriptions/domains will have "disable_functions = " by default[/php]
 
Back
Top