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!

Memory limit for 1 domain

Discussion in 'General Discussion' started by borayeris, Apr 19, 2016.

  1. borayeris

    borayeris Member

    Joined:
    Jan 28, 2015
    Messages:
    14
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    In /usr/local/apache/conf/includes/post_virtualhost_2 file I add

    Code:
    <Directory "/home/DOMAIN/public_html/">
        php_value memory_limit 512M
    </Directory>
    
    I restart Apache. It doesn't work. Am I doing wrong?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you provide more information about your server's environment? For instance, which PHP handler are you using?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. borayeris

    borayeris Member

    Joined:
    Jan 28, 2015
    Messages:
    14
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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