• 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

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