Table of Contents
1. WordPress wp-config.php File #
by adding the following code in the wp-config.php file.
1 |
define('WP_MEMORY_LIMIT', '128M'); |
2. Edit htaccess #
by modifying the .htaccess file in the WordPress root directory where the wp-config.php is located as well.
1 |
php_value memory_limit 128M |
3. Create or Edit an existing PHP.INI file #
by adding or editing a php.ini file inside your web hosting root directory. If you are not able to see this file, create it manually and place it inside the mentioned folder.
1 |
memory_limit = 128M; |
If none of these methods are working, please contact your hosting provider for further assistance.