php报错:Warning: Phpinfo() Has Been Disabled For Security Reasons
程序员文章站
2024-01-14 10:52:10
...
今天想使用phpinfo函数查看一下服务器上php的相关信息的时候,报了如下错误:
Warning: phpinfo() has been disabled for security reasons
(出于安全考虑,禁用了phpinfo函数)
这是第一次碰到这种错误,那么如何重新启用phpinfo函数呢?
很简单:
找到php的配置文件php.ini,将phpinfo函数从disable_functions 中移除再重启服务器即可。
版权声明:本文为博主原创文章,未经博主允许不得转载。
推荐阅读
-
php报错:Warning: Phpinfo() Has Been Disabled For Security Reasons
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法
-
Warning: set_time_limit() has been disabled for security reasons in /home/www/we解决办法
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法_PHP
-
[ErrorException] proc_get_status() has been disabled for security reasons
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法_PHP
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法,warningphpinfo
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法,warningphpinfo_PHP教程
-
PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法,warningphpinfo_PHP教程