首页  >  文章  >  后端开发  >  如何屏蔽掉phpinfo()函数

如何屏蔽掉phpinfo()函数

PHP中文网
PHP中文网原创
2017-03-18 15:18:261095浏览

在 php.ini 配置文件里面有这个选项  

disable_functions = ; This directive allows you to disable certain
; functions for security reasons. It receives
; a comma separated list of function names.
; This directive is *NOT* affected by whether
; Safe Mode is turned on or off.  
写成
disble_function = phpinfo

http://www.bkjia.com/PHPjc/629806.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/629806.htmlTechArticle在 php.ini 配置文件里面有这个选项 disable_functions = ; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated li...

相关文章:

为什么修改了php.ini但是phpinfo()却没变化

用PHPINFO来实现PHP的配置统计过程

phpinfo 中 Local Value(局部变量)Master Value(主变量) 的区别

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn