title: Set Memory Limit in htaccess
body: <p>I am working on WordPress. I need to increase the memory, so I added the following line to my .htaccess file</p>
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  
  php_value memory_limit 64M
  </code></pre>
  <p>my sample php page</p>
  <pre><code>&lt;?php
  phpinfo(); 
  </code></pre>
  <p>but it throws the 500 internal server error. what is the problem here..</p>