stefanbc

Well-Known Member
Apr 13, 2015
52
0
6
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?
 

flashweb

Well-Known Member
Mar 13, 2003
255
2
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
363
Hello :)

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