Increase max_execution_time in PHP?

后端 未结 4 1682
长发绾君心
长发绾君心 2020-11-27 17:25

I\'m trying to upload large files to my server (my server support post_max_size 192mb and max_execution_time 600 sec). When I upload 100mb files ex

4条回答
  •  [愿得一人]
    2020-11-27 17:49

    Theres a setting max_input_time (on Apache) for many webservers that defines how long they will wait for post data, regardless of the size. If this time runs out the connection is closed without even touching the php.

    So your problem is not necessarily solvable with php only but you will need to change the server settings too.

提交回复
热议问题