• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue disable_functions not working?

yabado

Regular Pleskian
I have set the following directive to a domain's Additional ( PHP ) directives and hit Apply.
The directive is completely ignored and does not disable the functions. Other mail directives seem to work.
Is the disable_functions directive skipped or ignored by Plesk?

disable_functions=exec,system,phpinfo

My panel specs:
OS ‪CloudLinux Server 6.9 (Igor Volk)‬
Plesk version 12.5.30 Update #67, last updated at May 30, 2017 03:32 AM
 
Hi yabado,

Is the disable_functions directive skipped or ignored by Plesk?

disable_functions=exec,system,phpinfo
As far that I know, you are only able to set "disable_functions" ( and it's values ) in your serverwide php.ini - file(s).
 
As far that I know, you are only able to set "disable_functions" ( and it's values ) in your serverwide php.ini - file(s).
Gee, you're always good for a scare ... I really thought for a moment: "Maybe @UFHH01 is right, I should better check this fast ...".
Fortunately, no, the disable_functions parameter can be set from the local "additional PHP directives" section and it prohibits execution of these commands. There must be a different reason for why @yabado can still use them. Maybe the new configuration was not loaded, e.g. the web server did not reload?
 
Gee, you're always good for a scare ... I really thought for a moment: "Maybe @UFHH01 is right, I should better check this fast ...".
Sorry... I didn't want to scare you at all and I must admit, that I didn't re-check my statement. :p ( ... but at least I wrote = As far that I know" ^^ )
 
Back
Top