nuno.pereira
New Pleskian
- Server operating system version
- CentOS Linux release 7.9.2009 (Core)
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.46
I want to change the default PHP settings on all PHP versions, for the parameters configurable per domain, in particular the disable_functions, as instructed in How to customize PHP settings in Plesk.
I've followed the procedure at Customizing PHP Parameters, in particular adding the following lines
For the current domains, if the settings aren't equal to this, then the "Reset to default" is available and after clicking it this new setting is set.
The issue is that for new domains the value is only opcache_get_status.
Is there a way to change the default for new domains?
I've followed the procedure at Customizing PHP Parameters, in particular adding the following lines
INI:
[php]
settings.performance.disable_functions.default=opcache_get_status,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,mail
For the current domains, if the settings aren't equal to this, then the "Reset to default" is available and after clicking it this new setting is set.
The issue is that for new domains the value is only opcache_get_status.
Is there a way to change the default for new domains?