Heim  >  Artikel  >  Backend-Entwicklung  >  Fatal error: Maximum execution time of 30 错误解决办法_PHP教程

Fatal error: Maximum execution time of 30 错误解决办法_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:57:211103Durchsuche

在程序开发中出现Fatal error: Maximum execution time of 30错误,是指你的程序执行时间超了30秒,但为什么是30秒页不是50,10,20秒呢,这个30是php默认的脚本运行时间了,如果大家要修改很简单,下面我来看看解决些问题的办法。

错误提示

php 出现 Fatal error: Maximum execution time of 30 seconds exceeded in D:xxuserlogin.class.php on line 10的解决办法:


修改php.ini:
max_execution_time = 300 时间,然后重起服务iis

或者在程序写

set_time_limit(时间); //0为无限制.

max_execution_time = 30; Maximum execution time of each script, in seconds
把它设置成需要的值就可以了。如果设置成0的话,就是永不过期。


phpmyadmin出现Fatal error: Maximum execution time of 300

具体位置可能不一样。我的在 mylocalhostphpMyAdminlibraries下

找到:$cfg['ExecTimeLimit'] = 300;

改成 $cfg['ExecTimeLimit'] = 3000;

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632102.htmlTechArticle在程序开发中出现Fatal error: Maximum execution time of 30错误,是指你的程序执行时间超了30秒,但为什么是30秒页不是50,10,20秒呢,这个30是ph...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn