Am I the only one who thinks these two paragraphs are contradictory?

WBOY
Release: 2016-08-18 09:16:02
Original
1488 people have browsed it

Note:
max_execution_time only affects the running time of the script itself. Any other time spent outside of script running, such as calls to the system using the function system(), use of the sleep() function, database queries, file upload, etc., are not included when calculating the maximum time for the script to run. Inside.

Warning:
max_input_time sets the maximum time in seconds for the script to receive input, including file upload. For larger or multiple files, or if the user has a slow internet connection, it may exceed the default 60 seconds.

So, what time does max_execution_time count? Is the time of file upload included in it?

Reply content:

Note:
max_execution_time only affects the running time of the script itself. Any other time spent outside of script running, such as calls to the system using the function system(), use of the sleep() function, database queries, file upload, etc., are not included when calculating the maximum time for the script to run. Inside.

Warning:
max_input_time sets the maximum time in seconds for the script to receive input, including file upload. For larger or multiple files, or if the user has a slow internet connection, it may exceed the default 60 seconds.

So, what time does max_execution_time count? Is the time of file upload included in it?

Brother, you are not blind, are you mistaken? These are two configurations...
max_execution_time, max_input_time

Your question is already answered...

  1. max_input_time only affects the running time of the script itself, sleep(10), let php sleep for 10 seconds, go to the database to query something, wait for the database to return, and wait for the web server to accept the request header, and then forward it For php to process, all this time will not be counted.

  2. The time for file upload is not included

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!