什么是max_input_time设置的最大价值? [英] What's the max value of max_input_time?

查看:2164
本文介绍了什么是max_input_time设置的最大价值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎的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.

文档

  • 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设置的最大价值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆