Using FTP you can try increasing the memory for PHP and WordPress in several different ways:
1) You can edit the memory_limit line in your php.ini (if you have access to that file) to increase memory to 64M:
memory_limit = 64M;
2) Try adding the “define” line below in your wp-config.php file a few lines of white space below the opening <?php
in the file:
define('WP_MEMORY_LIMIT', '64M');
3) If those don’t work, try adding this line at the top of your .htaccess file:
php_value memory_limit 64M
If that doesn’t work or throws a “500 Internal Server Error”, delete the line from .htaccess.
If none of those work, your host probably doesn’t allow memory allocation overrides. You’re stuck with what they give.
You can run phpinfo to see what kind of memory allocation you already have. Make a plain text file and call it phpinfo.php
and put just this line in it:
<?php phpinfo(); ?>
then put the file in the root of your server, and then go to that file with your web browser. You’l see all the php info you need; scroll down for memory settings. If you get an error, that means your web hosting company won’t allow phpinfo to run for security reasons.