Home >Backend Development >PHP Tutorial >Fatal error: Maximum execution time of 30 error solution_PHP tutorial

Fatal error: Maximum execution time of 30 error solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:57:211175browse

Fatal error: Maximum execution time of 30 occurs during program development. It means that the execution time of your program exceeds 30 seconds, but why is the page 30 seconds not 50, 10, and 20 seconds? This 30 is the PHP default The script has been running for a long time. If you want to modify it, it is very simple. Let me take a look at the solutions to some problems.

Error message

FATAL error: Maximum execution time of 30 seconds exceeded in D:xxuserlogin.class.php on line 10. Solution:


Modify php.ini:
max_execution_time = 300 time, then restart the service iis

or write

in the program

set_time_limit(time); //0 means no limit.

max_execution_time = 30; Maximum execution time of each script, in seconds
Just set it to the required value. If set to 0, it will never expire.


Fatal error appears in phpmyadmin: Maximum execution time of 300

Exact locations may vary. Mine is under mylocalhostphpMyAdminlibraries

Found: $cfg['ExecTimeLimit'] = 300;

Changed to $cfg['ExecTimeLimit'] = 3000;

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632102.htmlTechArticleFatal error: Maximum execution time of 30 error occurs during program development, which means that the execution time of your program has exceeded 30 seconds, but why is the page 30 seconds not 50, 10, 20 seconds? This 30 is ph...
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