You can do this by editing your php.ini file & enter the following:disable_functions = "system,exec,shell_exec"The most aggressive will be :disable_functions = "system,exec,shell_exec,passthru,readfile,escapeshellarg,escapeshellcmd,popen,pcntl_exec"