This is 赵峰 | 赵峰之城 | 赵峰的博客 !

应在php.ini禁用的部分函数(安全考虑)

需要关注的一些函数

disable_functions = exec,system,passthru,error_log,ini_alter,dl,openlog,syslog,readlink,symlink,link,leak,fsockopen,proc_open,popepassthru,chroot,scandir,chgrp,chown,escapeshellcmd,escapeshellarg,shell_exec,proc_get_status,popen,com

尽量能找出最关键的几个来.

disable_functions = system,passthru,shell_exec,exec

« 上一篇 | 下一篇 »