最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php.ini禁止 phpinfo()不运行方法
时间:2022-06-24 16:02:16 编辑:袖梨 来源:一聚教程网
我们只要在php教程.ini增加
disable_functions =phpinfo
php.ini里引入了一项功能disable_functions , 这个功能比较有用,可以用它禁止一些函数。比如在php.ini里加上disable_functions = passthru exec system popen 那么在执行这些函数的时候将会提示warning: system() has been disabled for security reasons,同时程序终止运行
更多详细
查找disable_functions然后用下面的替换
disable_functions =phpinfo,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
相关文章
- 燕云十六声墨鼬毫怎么刷 墨鼬毫速刷攻略 08-10
- 燕云十六声粗矿石怎么刷 粗矿石速刷攻略 08-10
- 明末渊虚之羽云顶城竖井宝箱怎么找 竖井宝箱获取路线分享 08-10
- 人渣SCUM头盔防弹效果如何 各头盔防弹能力一览 08-10
- 燕云十六声突破材料怎么刷 突破材料速刷攻略 08-10
- 明末渊虚之羽定北将军成就怎么完成 艾能奇成就获取攻略 08-10