title: Overriding php.ini on server
body: <p>I have a page which allows users to upload images.</p>
  
  <p>It is returning a 500 error when the user tries to upload larger images though.</p>
  
  <p>The following code... </p>
  
  <pre><code>&lt;?php echo ini_get("upload_max_filesize"); 
  echo ini_get("post_max_size"); 
  echo ini_get("max_input_time");
  echo ini_get("max_execution_time");
  ?&gt;
  </code></pre>
  
  <p>...returns:</p>
  
  <pre><code>100M
  100M
  60
  3600
  </code></pre>
  
  <p>I'm guessing from this that it's the max-input-time that's causing the problem as i've tested with files under 100mb but taking longer than 60 seconds to upload.</p>
  
  <p>I don't have access with my host to the php.ini file, so can I override these settings? I've tried adding an htaccess file but I'm not sure I've put it in the correct place.</p>