Hello, What can i do to disable all exec functions? If I disable it globally, but i've some problems with ispconfig action with error PHP Warning: exec() has been disabled for security reasons ecc ecc.. what can i do to fix this issue disable them on all domains except ispconfig vhost? thanks in advance
It depends on your linux distribution. On Debian and ubuntu its easy as you can disable exec functions in the php.ini files for cgi, apache and fpm php. ISPConfig requires exec just in the cliphp.ini file. disabling exec in cli does not make any sense anyway as cli is for shell scripts only and a shell script ha sshell access already.