title: PHP file upload affected or not by max_input_time?
body: <p>I'm looking into what is the best value to set for defaults in PHP. I've seen many contradicting points about <code>max_input_time</code>. </p>
  
  <p>This answer says that he believes file uploading is not counted towards timers:
  <a href="https://stackoverflow.com/a/3758522/518169">https://stackoverflow.com/a/3758522/518169</a></p>
  
  <p>While on the official PHP documentation, there is a huge red warning saying:</p>
  
  <blockquote>
    <p>max_input_time sets the maximum time, in seconds, the script is
    allowed to receive input; this includes file uploads. For large or
    multiple files, or users on slower connections, the default of 60
    seconds may be exceeded</p>
  </blockquote>
  
  <p>Source: <a href="http://php.net/manual/en/features.file-upload.common-pitfalls.php" rel="noreferrer">http://php.net/manual/en/features.file-upload.common-pitfalls.php</a>, last updated: Fri, 06 Jul 2012</p>
  
  <p>So from this it seems to <code>max_input_time</code> <strong>does affect</strong> file uploading and to be sure that visitors can upload say 20 MB files even from slow or mobile connections, the default value of 60 is definitely not enough! </p>
  
  <p>What do you recommend setting this value to? 300?</p>
  
  <p>Also, is there any relationship between <code>max_execution_time</code> and <code>max_input_time</code>? For example like that <code>max_execution_time</code> needs to be bigger than <code>max_input_time</code>?</p>