• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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