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.

Changing post_max_size not working

Discussion in 'General Discussion' started by stefanbc, Jun 26, 2015.

  1. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Hi,

    I just changed post_max_size = 50M, restarted apache, also restarted the server and the phpinfo() still says post_max_size = 8M.

    I also checked /usr/local/lib/php.ini and made sure that post_max_size = 50M.

    I did not check this on accounts created after this change was done in WHM. Shouldn't this change be applied to all the accounts if the change was done from WHM?
     
  2. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    In you php.ini, look for location of php.ini file, make sure you are editing proper php.ini file, if user have a custom php.ini file, you need to edit it (or remove it).

    Also try restarting Apache.

    If you are on cloudlinux/cagefs, you need to run

    Code:
    cagefsctl --update
    
     
  3. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Hi,

    I think
    cagefsctl --force-update
    did the trick for me

    Thank you
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page