how to increase php memory limit in wordpress


 
 
 
 
 
 
 
 

how to increase php memory limit in wordpress

If you want to increase wordpress memory limit upto 64mb
Edit your wp-config.php file and put there
define( ‘WP_MEMORY_LIMIT’, ’64M’ );
And if you want to increase wordpress memory limit upto 128mb
edit your wp-config.php file and put there
define( ‘WP_MEMORY_LIMIT’, ‘128M’ );
and if you want to increase wordpress memory limit upto 256mb
define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
Note: the developor must put this define memory constant before wordpress  database setting so it would work properly.