问题描述
似乎的max_execution_time
是 0
,但 memory_limit的
是 1
。
有关 max_input_time设置
是 0
或 1
还是两者兼而有之?
For max_input_time
is it 0
or -1
or both?
推荐答案
绝对最大值的限制长
键入C:
The absolute maximum value is the limit of the long
type in C:
long max_input_time; member in struct:_php_core_globals
请参阅:<一href=\"http://lxr.php.net/search?q=max_input_time&defs=&refs=&path=&hist=&project=PHP_5_4\" rel=\"nofollow\">http://lxr.php.net/search?q=max_input_time&defs=&refs=&path=&hist=&project=PHP_5_4
有效最大值为 2147483647
,保持互操作性。它可能是更上的特定平台或implementaion,但是这是最常见的,32位的最大值
The effective maximum value is 2147483647
, to maintain interoperability. It may be more on a specific platform or implementaion, but this is the most common, 32bit max.
你也可以看到在源的几个景点(即如果(PG(max_input_time设置)!= -1)
),值 1
被视为等同于最大值。 0
将被视为零。
As you can also see at a few spots in the source (ie if (PG(max_input_time) != -1)
), the value -1
is treated as equivalent to maximum. 0
would be treated as zero.
文档
- 运行配置 -
- PHP源$ C $ C浏览器搜索的max_execution_time - <一个href=\"http://lxr.php.net/search?q=max_input_time&defs=&refs=&path=&hist=&project=PHP_5_4\" rel=\"nofollow\">http://lxr.php.net/search?q=max_input_time&defs=&refs=&path=&hist=&project=PHP_5_4
- Runtime configuration - http://www.php.net/manual/en/info.configuration.php#ini.max-input-time
- PHP source code browser search for "max_execution_time" - http://lxr.php.net/search?q=max_input_time&defs=&refs=&path=&hist=&project=PHP_5_4
这篇关于什么是max_input_time设置的最大价值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!