Home > Backend Development > PHP Tutorial > How to block the phpinfo() function

How to block the phpinfo() function

PHP中文网
Release: 2023-02-28 18:52:01
Original
1143 people have browsed it

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.
Write as
disble_function = phpinfo

http://www.bkjia.com/PHPjc/629806.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/629806 .htmlTechArticle has this option disable_functions = in the php.ini configuration file; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated li...

Related articles:

Why there is no change in phpinfo() after modifying php.ini

Using PHPINFO to implement PHP configuration statistics process

The difference between Local Value (local variable) and Master Value (main variable) in phpinfo

Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template