Home  >  Article  >  Backend Development  >  PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法_PHP

PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法_PHP

WBOY
WBOYOriginal
2016-06-01 14:35:29782browse

本文实例讲述了PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法。分享给大家供大家参考。具体分析如下:

今天在一朋友服务器测试一个网站时发现我在测试phpinfo时碰到PHP Warning:phpinfo() has been disabled for security reasons 提示了,按话的意思我总结了解决办法,下面我们一起来看看吧.

在运行phpinfo时碰到提示如下: 代码如下:

/etc/init.d/php-fpm restart

希望本文所述对大家的php程序设计有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn