WordPress.org

Ready to get started?Download WordPress

Forums

Increase by default WP_Memory Limit to 64M (2 posts)

  1. JackHenry
    Member
    Posted 4 years ago #

    Every time I upgrade eith incremental or major, i need to change my WP-Settings file to 64M from 32M.

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

    Is it possible, in light of the fact that most errors occur because of this limit, to change it by default in the WP-Settings file at the development stage??

  2. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    You could add the memory limit in one of the following files
    - wp-config.php file near the top - add: define('WP_MEMORY_LIMIT', '32M');
    OR
    - htaccess file - add: php_value memory_limit 32M
    OR
    - php.ini file - add: - memory_limit = 32M;

    though truth be told, most need/want 64M :-)

Topic Closed

This topic has been closed to new replies.

About this Topic