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?
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...
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.
The time for file upload is not included