Board logo

标题: PHP Warning: phpinfo() has been disabled [打印本页]

作者: xiexie    时间: 2013-8-13 22:54     标题: PHP Warning: phpinfo() has been disabled

错误提示:

PHP Warning: phpinfo() has been disabled for security reasons in XX.php on line XX
 
警告意思: phpinfo() 函数已经由于安全原因被禁止。
 
解决方法:



打开php安装路径打开php.ini文件

找到disable_functions,把里面的 phpinfo, 删除并保存,如有需要请重启php-fcgi
 
 
其它函数类似.





欢迎光临 PHP开发笔记 (http://phpvi.com/) Powered by Discuz! 6.1.0