How do I increase memory in WordPress?
To increase the WordPress allowed memory size for your website:
- Open wp-config. php, which by default is located in the root WordPress directory.
- Find the following line near the end of the file: /* That’s all, stop editing! Happy blogging.
- Just above that line, add the following line: define(‘WP_MEMORY_LIMIT’, ’64M’);
What is the max memory limit for PHP?
How do I increase my memory limit?
To increase PHP memory limit setting, edit your PHP. ini file. Simply increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php. ini.
How do I increase WordPress Htaccess memory limit?
Increase PHP memory limit in WordPress
- Via wp-config. php.
- Via PHP.ini.
- Via .
- If you don’t have access to your php.ini file, sometimes you can use your .htaccess file to set the memory limit: php_value memory_limit 128M.