Open a terminal or login to your server over the ssh session. Open php.ini file:
Mã:# vi /etc/php.ini
Find disable_functions and set new list as follows:
I also recommend to disable allow_url_include and allow_url_fopen for security reasons:Mã:disable_functions = exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source,curl_exec,curl_multi_exec
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/