WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] WooCommerce shows wrong memory_limit value (3 posts)

  1. webby1973
    Member
    Posted 1 year ago #

    Hello all,

    I'm doing some testing with WC 2.0.12 (Shopo theme from Themify) on WP 3.5.2 and I saw on odd alert about memory allocated to PHP:
    --------------------------------------------------------
    WC Version: 2.0.12
    WC Database Version: 2.0.12
    WP Version: WP 3.5.2
    Web Server Info: Apache
    PHP Version: 5.3.21
    MySQL Version: 5.1.61-0+squeeze1
    WP Memory Limit: 40 MB
    --------------------------------------------------------

    I asked to my hosting provider, he said the memory on that server is 64MB not 40MB, see:
    http://x5.w4w.guest.it/info.php

    So how can I be sure the "40 MB" value is wrong or correct? is the parameter read directly by WooCommerce or what else?
    I cannot modify it myself , not even with ini_set on php.

    thank you :)

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

  2. Roy Ho
    Member
    Posted 1 year ago #

    Yes that is possible. Your site has allocated 64M but WP is using 40M of that. So you can increase that by defining this in your wp_config file.

    define('WP_MEMORY_LIMIT', '64M');
  3. webby1973
    Member
    Posted 1 year ago #

    Thank you very much :)
    that's was much more easier than I thought!

    But why WP is not taking all the available memory, is the 40MB hardcoded somewhere?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic