• Resolved webby1973

    (@webby1973)


    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:
    https://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 ??

    https://www.ads-software.com/extend/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Roy Ho

    (@splashingpixelscom)

    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');
    Thread Starter webby1973

    (@webby1973)

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce shows wrong memory_limit value’ is closed to new replies.