Allowing PHP exec() function
Allowing PHP exec() function
Collapse
X
-
Tags: None
-
Hi all,
What is the best software to allow to use exec() function for example?
Does CageFS protect clients website well enough to allow such a function in PHP?
Any other options?Hostking | Since 2013 | Web Hosting | WordPress Web Hosting -
-
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