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!
  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:
    52
    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:
    253
    Likes Received:
    2
    Trophy Points:
    168
    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:
    52
    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:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I'm happy to see running "cagefsctl --update" addressed the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page