在php.ini中 disable_functions = 改为:disable_functions = phpinfo
如需禁用多个 可用,分割
禁用的函数列表为:
disable_functions = exec,passthru,popen,proc_open,shell_exec,system,phpinfo,assert,chroot,getcwd,scandir,delete,rmdir,rename,chgrp,chmod,chown,copy,mkdir,file
转载于:https://blog.51cto.com/linuxsa/1149317