Issue
How to allow users to manage the disable_functions option.
Environment
- CloudLinux OS 6/7/8/9
Solution
1. Try adding the following lines in the /etc/cl.selector/php.conf
:
Directive = disable_functions
Type = value
Comment = This directive allows you to disable certain functions for security reasons. It takes on a comma-delimited list of function names. disable_functions is not affected by Safe Mode.
2. Then run:
cagefsctl --force-update
Cause
The directive may be not added by default.
Useful links
https://docs.cloudlinux.com/legacy/cloudlinux_os_components/#custom-php-ini-options
Comments
0 comments
Please sign in to leave a comment.