PHP头条
热点:

PHP 最大运行时间 max_execution_time修改方法


如下:
---------------------------------------------------------------------------------------
//修改最大执行时间
ini_set("max_execution_time", 2400); // s 40 分钟
//修改此次的最大运行内存
ini_set("memory_limit", 1048576000); // Byte 1000 兆,即 1G
---------------------------------------------------------------------------------------
修改的参数只在本次运行脚本的时候生效!

www.phpzy.comtrue/php/29312.htmlTechArticlePHP 最大运行时间 max_execution_time修改方法 如下: --------------------------------------------------------------------------------------- //修改最大执行时间 ini_set("max_execution_time", 2400); // s 40 分钟 //修改此...

相关文章

PHP之友评论

今天推荐