title: Changing upload_max_filesize on PHP
body: <p>I'm using PHP 5.3.0 and have encountered something that might be a bug (in which case I'll report it) or might be me - so I'm asking to make sure.</p>
  
  <p>When running this code:</p>
  
  <pre><code>&lt;?php
  ini_set('upload_max_filesize', '10M');
  echo ini_get('upload_max_filesize'), ", " , ini_get('post_max_size')
  </code></pre>
  
  <p>I end up with:</p>
  
  <pre><code>2M, 8M
  </code></pre>
  
  <p>This is despite my php.ini setting these higher:</p>
  
  <pre><code>upload_max_filesize = 10M
  post_max_size = 10M
  </code></pre>
  
  <p>(occuring only once)</p>
  
  <p>Because the error occurs after setting the value as well as it being set in php.ini I'm inclined to think it's a bug. Can anyone confirm or point me where I'm going wrong?</p>
  
  <p><strong>Update</strong>: Looks like restarting Apache fixed this - I always thought it didn't need to be restarted if you changed php.ini.</p>