Home > php教程 > php手册 > Fatal error: Maximum execution time of 30 错误

Fatal error: Maximum execution time of 30 错误

WBOY
Release: 2016-05-25 16:52:10
Original
1573 people have browsed it

在程序开发中出现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为无限制,把它设置成需要的值就可以了,如果设置成0的话,就是永不过期。

phpmyadmin出现Fatal error: Maximum execution time of 300,具体位置可能不一样,我的在 mylocalhostphpMyAdminlibraries下,找到:$cfg['ExecTimeLimit'] = 300;改成 $cfg['ExecTimeLimit'] = 3000;

文章网址:

随意转载^^但请附上教程地址。

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template