为了安全起见 php安装后禁用掉一些不安全的函数。 找到你的php对应的配置文件 例如C:PHPPHP5.3PHP.INI 查找disable_functions 后面加上你需要禁用的函数修改后保存。 蓝队网络主机禁用函数: disable_functions =exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,chmod