To help resolve the PHP memory limit errors, within the wp-config.php,
define the maximum amount of memory that PHP can use by writing one of
these three lines of code, depending on how much memory you allow PHP to
use on your site, and adding it to the wp-config.php file on its own line:
define (‘WP_MEMORY_LIMIT’, ‘64m’); // increase limit to 64M
define (‘WP_MEMORY_LIMIT’, ‘96M’); // increase limit to 96M
define (‘WP_MEMORY_LIMIT’, ‘128M’); // increase limit to 128M
Some hosting providers disable the ability to increase PHP memory limits on
your Web hosting account, so depending on your hosting environment, your
attempts to increase the memory limit may not work. If you discover this is
the case for your particular hosting account, you can contact your host and
ask him to increase the PHP memory limit for your account or switch to a
different hosting provider.
Sunday, 21 July 2013
Increasing PHP memory limits
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment