- Plesk for Linux
- Plesk for Windows
How to disable PHP functions globally?
Disabling PHP functions is possible on a handler level. To achieve this, perform the following:
Go to Tools & Settings > General Settings > PHP Settings ;
Choose PHP handler which settings you wish to modify (for example, 7.0.23 FPM application):
Switch to tab
and find the directive
Append to the line functions so it looks like this:
CONFIG_TEXT: disabled_functions = ini_set
Save the changes by clicking OK .