Home >Backend Development >PHP Tutorial >PHP maximum running time max_execution_time modification method_PHP tutorial

PHP maximum running time max_execution_time modification method_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:40:351281browse

As follows:
------------------------------------------------ ---------------------------------------------
//Modify the maximum execution Time
ini_set("max_execution_time", 2400); // s 40 minutes
//Modify the maximum running memory this time
ini_set("memory_limit", 1048576000); // Byte 1000 MB, which is 1G
-------------------------------------------------- ----------------------------------------
The modified parameters are only this time It takes effect when running the script!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321349.htmlTechArticle is as follows: ----------------------- -------------------------------------------------- --------------- //Modify the maximum execution time ini_set("max_execution_time", 2400); // s 40 minutes //Modify...
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