Increase Php Memory Limit WordPress?


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?

128 megabytes

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

  1. Via wp-config. php.
  2. Via PHP.ini.
  3. Via .
  4. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *