代码如下
1vim /etc/php.ini
去掉disable_functions前注释,编辑内容如下
代码如下
1disable_functions = exec,shell_exec,system,passthru,popen
友情提示,有朋友说想过滤eval函数,在php中这个不是函数无法在disable_functions禁止的哦
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!