The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Joined:
    Sep 9, 2010
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    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

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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?
     
Loading...

Share This Page