Example:
max_input_time 600
max_execution_time 30
Question: Will be my PHP script force to terminate if upload of file(s) from HTML form will take let's say 200 seconds? I'm assuming that execution of the script will not take longer than 30 seconds.
To be more precise: In infrastructure with apache + php: When will PHP start counting max_input_time and when max_exectuion_time?
so , if I work with stream operation that might be taking long a couple of hours, what shall I do ? Do i need to increase max_input_time in php.ini ? is there a function to increase max_input_time programmatically set_time_limit()?
http://www.php.net/manual/en/info.configuration.php#ini.max-execution-time
The maximum execution time is not affected by system calls, stream operations etc. Please see the set_time_limit() function for more details.