Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to activate '–enable-memory-limit' configure option, in WHM/SSH?

Discussion in 'General Discussion' started by basketmen, Jun 29, 2011.

  1. basketmen

    basketmen Well-Known Member

    Sep 9, 2010
    Likes Received:
    Trophy Points:
    Hi guys,

    in a webmaster forum, i cant set different memory_limit value only in a file using instruction from other member. Someone told me the Server PHP installation must be compiled with the –enable-memory-limit configure option

    so how to do that, in WHM/SSH?

    if its in whm >> EasyApache (Apache Update), i can using easy apache, but which step exactly to do this? :

  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    PHP 5.2.1+ should allow setting memory_limit variable without having to pass --enable-memory-limit during PHP compile time. Can you please indicate how setting memory_limit in /usr/local/lib/php.ini or via the account's own php.ini (if using suPHP) is not working?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice