Open a terminal or login to your server over the ssh session. Open php.ini file:
Find disable_functions and set new list as follows:
Mã:
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source,curl_exec,curl_multi_exec
I also recommend to disable allow_url_include and allow_url_fopen for security reasons:
Mã:
allow_url_fopen=Off
allow_url_include=Off
Save and close the file:
Mã:
# service httpd restart
See more: http://www.cyberciti.biz/faq/linux-unix-apache-lighttpd-phpini-disable-functions/