title: Increase WordPress memory limit - Current memory limit: 40 MB | We recommend setting memory to at least 128MB -
body: <p>I currently have this notice in my wordpress dashboard.</p>
  
  <p><a href="https://i.stack.imgur.com/MNzhn.png" rel="nofollow"><img src="https://i.stack.imgur.com/MNzhn.png" alt="enter image description here"></a></p>
  
  <p>I have set the php limit to 128m in my loaded config file. I then echo'd out info and it says 128m</p>
  
  <p><a href="https://i.stack.imgur.com/VzNAz.png" rel="nofollow"><img src="https://i.stack.imgur.com/VzNAz.png" alt="enter image description here"></a></p>
  
  <p>I have set my wp-config.php file to include </p>
  
  <pre><code>define( 'WP_MEMORY_LIMIT', '128M' );
  </code></pre>
  
  <p>I have then restarted apache with the following to make sure changes are made. </p>
  
  <pre><code>sudo service apache2 restart
  </code></pre>
  
  <p>Yet when I login to the dashboard I am still greeted with </p>
  
  <pre><code>Current memory limit: 40 MB | We recommend setting memory to at least 128MB 
  </code></pre>
  
  <p>I have checked my .htaccess file also (which has only mod_rewrite settings) and I still get the current memory limit : 40mb in the dashboard.</p>
  
  <p>Any ideas why?</p>