Allowing PHP exec() function
Announcement
Collapse
No announcement yet.
Allowing PHP exec() function
Collapse
X
-
It is safe to enable it as long as CageFS is activated
By-default there is no disabled functions in php-selector inis. If the are, there is an option to replace global disable_functions per user with custom value:
--add-options (-k)
or
--replace-options (-m)
keys of selectorctl.
For example:
selectorctl --add-options=disable_functions: --user=user --version=5.6
However, this will not work if you have disable_functions added to global ini ( http://docs.cloudlinux.com/index.htm...p_ini_opt.html ), since global ini values force-replace everything.
You can check our docs about selectorctl here:
Comment
Comment