• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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