Home  >  Article  >  php教程  >  PHP中如何屏蔽phpinfo()这个该死的函数

PHP中如何屏蔽phpinfo()这个该死的函数

WBOY
WBOYOriginal
2016-06-13 10:32:08737browse

要想让别人不会检测到你的服务器的各种参数那就赶快把php(做为现在的主流开发语言)info()这个函数给干掉吧!
在php(做为现在的主流开发语言).ini中 disable_functions = 改为:disable_functions = php(做为现在的主流开发语言)info
就可以了!

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