Modify PHP maximum running time max_execution_time_PHP tutorial

WBOY
Release: 2016-07-21 14:54:52
Original
987 people have browsed it

There is a simple method, which is to modify the configuration file directly in the script:

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 will only take effect when running the script this time!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/364531.htmlTechArticleThere is a simple method, which is to modify the configuration file directly in the script: as follows: ------- -------------------------------------------------- ----------------------------- //Maximum modification...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!