[resolved] Wrong 'PHP Memory Limit' value in WC's System Status (4 posts)

  1. Satri
    Posted 2 years ago #

    Using WC 2.0.13, WC's System Status shows the wrong 'PHP Memory Limit' value.

    The default 40 MB is shown, along with the low memory warning, while in reality, my PHP Memory Limit is much higher and changed in a phprc file. I confirmed the real value via the 'WP System Health' plugin. WC 2.0.13 fails to see read the real value.

    Thanks -- Alex


  2. David Anderson
    Posted 2 years ago #

    I've seen this regularly too.

  3. Roy Ho
    Posted 2 years ago #

    That value is what WP is utilizing. To allocate more to WP, you would want to define that in your wp-config.php file.

    define('WP_MEMORY_LIMIT', '64M');
  4. Satri
    Posted 2 years ago #

    Ah! You're right SplashingPixels, thanks! The problem was that, despite my phprc file, my wp-config.php had the 'define wp_memory_limit' code, but it needed to be *before* some other code in the wp-config.php (probably before the 'require_once'). Now that this 'define' is read properly, WooCommerce also sees the correct value.

    Sorry for my mistake - I'm happy my problem is solved now :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic