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.

Memory limit for 1 domain

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

  1. borayeris

    borayeris Member

    Joined:
    Jan 28, 2015
    Messages:
    13
    Likes Received:
    2
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. borayeris

    borayeris Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page