PHP file upload affected or not by max_input_time?

后端 未结 4 2029
情歌与酒
情歌与酒 2020-12-13 09:55

I\'m looking into what is the best value to set for defaults in PHP. I\'ve seen many contradicting points about max_input_time.

This answer says that h

4条回答
  •  余生分开走
    2020-12-13 10:22

    It's going to depend on how the PHP is bridged to the webserver.

    Technically it's possible for the webserver to invoke PHP as soon as it has the request headers - in which case PHP is going to be twiddling it's thumbs waiting for the POST data to come across the internet until it can populate the request variables (it's quite possible that max_input_time will be exceeded). But more commonly, the webserver will delay the invocation of PHP until it has the the full request (it's a lot less likely that max_input_time wil be exceeded).

提交回复
热议问题