title: Changing 'memory_limit', 'post_max_size', and 'upload_max_filesize' in .htaccess file
body: <p>I know there are a lot of questions on here about this, but most of them seem to be from people who don't know that '<code>memory_limit</code>', '<code>post_max_size</code>', and '<code>upload_max_filesize</code>' are <code>PHP_INI_PERDIR</code> (i.e. they can't be changed using <code>ini_set()</code>). I already learned that the hard way.</p>
  
  <p>However, everything indicates that I should be able to change them using a .htaccess file—everything, that is, except my actual experience.</p>
  
  <p>Here are the contents of my .htaccess file:</p>
  
  <pre><code># Allow large file uploads
  php_value memory_limit 4294967296
  php_value post_max_size 1073741824
  php_value upload_max_filesize 524288000
  </code></pre>
  
  <p>I've tried a number of different combinations, but none of them seem to have any effect on anything. I know I've gotta be missing something, but I can't for the life of me figure out what that something is.</p>
  
  <p>P.S. I'm running PHP 5.2.4 locally on Mac OS X 10.4 from entropy.ch.</p>