当前位置:首页 > PHP教程 > PHP常见问题

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

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 

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!

相关教程推荐

其他课程推荐