打开php.ini,查找disable_functions,按如下设置禁用一些函数
disable_functions =phpinfo,exec,passthru,shell_exec,system,...proc_open,proc_terminate,curl_exec,curl_multi_exec,show_source,touch,escapeshellcmd,escapeshellarg
MySQL...账号安全:
禁止mysql用户外部链接,程序不要使用root账号,最好单独建立一个有限权限的账号专门用于Web程序。