title: increasing php value memory limit
body: <p>I transferred the web directory of a site to new hosting. after importing the directory and the DB, I got this error:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 79 bytes) in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/libraries/joomla/database/database/mysql.php on line 712</p>
  </blockquote>
  
  <p>I found my <code>.htaccess</code> file that was empty and added the line 
  php_value memory_limit 256m, and it didn't work,  I changed it to 512m, which is the highest that they support and still doesn't work. Can someone help me please.....Never thought a site  transfer would be this difficult. </p>
  
  <hr>
  
  <p>so I added the folloing to .htaccess
  php_value memory_limit 512M
  php_flag display_errors 1
  php_value error_reporting 8191</p>
  
  <p>RewriteEngine on
  RewriteBase /</p>
  
  <p>and I get the following</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/jantispam/jantispam.php on line 90</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/jantispam/jantispam.php on line 68</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/jantispam/jantispam.php on line 261</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/jantispam/jantispam.php on line 274</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/jantispam/jantispam.php on line 39</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/slprettyphoto/slprettyphoto.php on line 30</p>
  
  <p>Strict Standards: Only variables should be assigned by reference in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/plugins/system/ctkfbinit/ctkfbinit.php on line 94</p>
  
  <p>Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 79 bytes) in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/libraries/joomla/database/database/mysql.php on line 712</p>
  
  <p>I will try turning off those plugins to see what happens</p>