Home > Backend Development > PHP Tutorial > PHP 最大运行时间 max_execution_time修改方法_PHP

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 12:20:22
Original
1391 people have browsed it

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

Related labels:
php
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template