Milingona Docs
Submit a TicketExplore ThemesFacebookTwitter
Welcome
Welcome
  • 📌Getting Started
  • General
    • FAQ
      • Where is my purchase code?
      • Recommended PHP settings
      • How to update the theme
      • How to increase the WordPress memory limit
      • Broken theme and/or stylesheets missing error
      • How to fix the “Sorry you are not allowed to access the site” error in WordPress
      • How to speed up your website
      • How to reset your database
      • How to protect your site from viruses and malware
      • How to solve “the link you have followed has expired” issue
      • What to do if the emails are not being sent
      • Why to use the child theme?
      • Are demo images copyrighted?
      • How to renew or extend support?
      • If I want to use the theme on a second site, do I need a second license?
      • Can I use Bakery on a test site, then move it to a live site when finished?
      • If for any reason I change the domain how I can remove the old domain?
    • Changelog
    • Buy Theme
Powered by GitBook
On this page

Was this helpful?

  1. General
  2. FAQ

How to increase the WordPress memory limit

PreviousHow to update the themeNextBroken theme and/or stylesheets missing error

Last updated 5 years ago

Was this helpful?

1. Edit your wp-config.php file and enter something like:

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

WordPress memory can be different to the server – you need to set this regardless of server memory settings

2. If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 256M:

memory_limit = 256M ; Maximum amount of memory a script may consume (256MB)

3. If you don’t have access to PHP.ini try adding this to the .htaccess file:

php_value memory_limit 256M

4. If none of the above works then talk to your host.

http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP