How to increase WordPress memory limit

WordPress memory limit is set to 32M by default. This is sometime not enough for a heavy WordPress site.

To increase the WordPress Memory limit:

  • open the wp-config.php file
  • add the following line (before it says /* That's all, stop editing! Happy blogging. */):

define('WP_MEMORY_LIMIT', '128M');

 

This should increase the memory limit to 128 Mega Byte.

  • WordPress, wp-config.php
  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

How to reset WordPress Admin Password from the PhpMyAdmin

Here’s a detailed guide on How to Reset a WordPress Password from phpMyAdmin: How to Reset...

Powered by WHMCompleteSolution