如何屏蔽掉phpinfo()函数

PHP中文网
發布: 2023-02-28 18:52:01
原創
1092 人瀏覽過

在 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_function = phpinfo

http://www.bkjia.com/PHPjc/629806.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/629806.htmlTechArticle在 php.ini 配置文件里面有这个选项 disable_functions = ; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated li...

相关文章:

为什么修改了php.ini但是phpinfo()却没变化

用PHPINFO来实现PHP的配置统计过程

phpinfo 中 Local Value(局部变量)Master Value(主变量) 的区别

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!