title: Using a custom PHP.INI for a single site. Windows 2003, 64bit, IIS7.5, PHP 5.3.6
body: <p>I have a single PHP script on a single site that requires me to set the upload size maximum fairly high. I would prefer not to do this globally.</p>
  
  <p>According to the PHP docs, I can not set the values for some variable such as <code>post_max_size</code> , <code>max_file_uploads</code> or <code>upload_max_filesize</code> using <code>ini_set</code>. I've seen a number of solutions here running PHP on a UNIX box or on Windows running Apache, but none that are clear to me using IIS.</p>
  
  <p>My understanding is that there is a way for me to have a custom php.ini file to override specific php.ini value.</p>
  
  <p>Ideally, I would love to have a php.ini file in the folder with that one script that looks something like this:</p>
  
  <pre><code>[PHP]
  post_max_size = 200M
  max_file_uploads = 5
  upload_max_filesize = 200M
  </code></pre>
  
  <p>How can I accomplish this without setting the values globally on my server?</p>