Home >Backend Development >PHP Tutorial >Warning: set_time_limit() has been disabled for security reasons in /home/www/we解决办法

Warning: set_time_limit() has been disabled for security reasons in /home/www/we解决办法

WBOY
WBOYOriginal
2016-06-13 10:10:281860browse

Warning: set_time_limit() has been disabled for security reasons in /home/www/we
set_time_limit(0);
$prescription = trim($_GET['q']);


第二行已加粗。。。请问空上错误怎么解决?

------解决方案--------------------
出于安全原因,set_time_limit()函数已被禁用
------解决方案--------------------
能修改 php.ini就修改 配置,要是空间商什么的估计是没办法修改参数了 直接注释掉吧,如果不是特别需要的话.
------解决方案--------------------
看有不有权限修改php.ini 把安全模式关闭估计可以。如果不是特别需要的话就别用了。
------解决方案--------------------
帮顶。。。。。。
------解决方案--------------------
开启。或者隐隐的屏蔽掉错误。

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