当前位置: 移动技术网 > IT编程>开发语言>PHP > 怎么样可以把 phpinfo()屏蔽掉?

怎么样可以把 phpinfo()屏蔽掉?

2019年05月16日  | 移动技术网IT编程  | 我要评论
q:怎么样可以把 phpinfo()屏蔽掉? 

a:路径:c:\winnt(or windows)\php.ini(nt和2000)c:\windows(95,98) 
在 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_functions = phpinfo 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网