Heim  >  Artikel  >  Backend-Entwicklung  >  如何屏蔽掉phpinfo()函数

如何屏蔽掉phpinfo()函数

PHP中文网
PHP中文网Original
2017-03-18 15:18:261093Durchsuche

在 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(主变量) 的区别

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn