禁用一些函数,可以打开php.ini文件找到下面字段并设置你要禁用的函数disable_functions=phpinfo,exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,curl_exec,multi_exec,chmod,gzinflate,set_time_limit,open_basedir:将用户可操作的文件限制在某目录下如下把操作限定在指定目录中(单个目录,多个目录)open_basedir=E;/dir/user/open_basedir=E:/dir/user/;E:/dir/user/;