Support » Plugin: WooCommerce » Wrong 'PHP Memory Limit' value in WC's System Status

  • Resolved Satri

    (@satri)


    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

    http://wordpress.org/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve seen this regularly too.

    Roy Ho

    (@splashingpixelscom)

    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');

    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 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wrong 'PHP Memory Limit' value in WC's System Status’ is closed to new replies.