• Since I updated to the new WordPress 3.9, I have had no content on my website. It is telling me under System Report that “WP Memory Limit: 40 MB – We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP”

    How do I do that? I haven’t been able to figure it out at all. Thank you for any help!

Viewing 5 replies - 31 through 35 (of 35 total)
  • dupsy

    (@dupsy)

    Hi

    I have similar problem. Any luck?

    I added Woocommerce Plugin and the system advised that i increase memory usage to 64MB. Please advise.

    thanks.

    Here comes the solution for wordpress 4.x, at wp_settings.php place this line to unable the memory limit

    ini_set('memory_limit', '-1');

    after this line that initializes the memoru constants

    // Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, WP_CONTENT_DIR and WP_CACHE.
    wp_initial_constants();
    
    // place here!!
    ini_set('memory_limit', '-1');

    good luck!

    I just registered so I could tell you you’re the best! thank you!

    I tried:
    – creating php.ini
    – amending wp-settings.php as above

    nothing worked, my woocommerce still reflects the need to increase memory limit. pls davise

    If you go back to my first post (Post #4 on the first page), you’ll see two other options that you should explore.

Viewing 5 replies - 31 through 35 (of 35 total)
  • The topic ‘Increasing memory allocated to PHP’ is closed to new replies.