>  기사  >  백엔드 개발  >  如何屏蔽掉phpinfo()函数

如何屏蔽掉phpinfo()函数

PHP中文网
PHP中文网원래의
2017-03-18 15:18:261093검색

在 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으로 문의하세요.