Home  >  Article  >  Backend Development  >  How to block the phpinfo() function_PHP Tutorial

How to block the phpinfo() function_PHP Tutorial

WBOY
WBOYOriginal
2016-07-20 10:59:281013browse

​ There is this option in the php.ini configuration file
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.
Written as
disble_functions = phpinfo

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445601.htmlTechArticleIn the php.ini configuration file there is this option disable_functions = ; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated li...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn