Home  >  Article  >  Backend Development  >  How to block phpinfo()?_PHP Tutorial

How to block phpinfo()?_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 16:00:49985browse

Q: How can I block phpinfo()?

A: Path: C:winnt(or windows)php.ini (NT and 2000) C:windows(95,98)
In php There is this option in the .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.
changed to
disble_functions = phpinfo

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317065.htmlTechArticleQ: How can I block phpinfo()? A: Path: C: winnt (or windows)php .ini (NT and 2000) C:windows(95,98) In the php.ini configuration file, there is this option disable_functions=;This...
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