gpt4 book ai didi

php - max_input_time= -1 -1 的具体含义是什么?

转载 作者:可可西里 更新时间:2023-10-31 23:07:19 26 4
gpt4 key购买 nike

我在文档中找不到这个,但确实是:

max_input_time = -1

意思是没有限制?

我觉得奇怪的是 max_execution_time = 0 是永远的。

但是 -1max_input_time 意味着什么?

最佳答案

快速查看 php.ini 文件将显示:

; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time=60

所以你已经猜对了:

; Default Value: -1 (Unlimited)
//^^^^^^^^^^^^^^

您可以在github 上看到用于生产和开发的php.ini 文件。 :

关于php - max_input_time= -1 -1 的具体含义是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30357748/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com