iPlex

Member
Feb 2, 2015
7
0
1
cPanel Access Level
Root Administrator
Hello I have the most perplexing problem!

Lets start from the begging, I co-own a small hosting comp any, I have a Dedicated server with cPanel/WHM on it and I hosting mostly WordPress sites at the moment.. So now that you have the setting lets get to the problem....

It seems like no matter what I do wordpress is stuck 2 or 8 MB upload limit! I went into WHM and set the upload limit to 150MB but wordpress is stuck! and I have tried all the suggested fixes for wordpress but none worked! (i.e edit the .htaccess, php.ini or theme functions)

So is this a WordPress or cPanel/WHM problem????
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

I suggest uploading a PHPINFO file to the WordPress directory and verifying which php.ini file is utilized. It's possible that an individual php.ini file is uploaded to the account that you are not aware of.

Thank you.
 

iPlex

Member
Feb 2, 2015
7
0
1
cPanel Access Level
Root Administrator
I did as you said and I saw that it was loading the php.ini file from /usr/local/lib so I went and looked at that file and for reason post_max_size was set to 8M to I put it to where I needed it and it works!

I don't know if WHM failed to change the post_max_siz or I overlooked it... But all is good now!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
I am happy to see the issue has been resolved. Please let us know if try modifying it again through WHM and it does not properly save the new value.

Thank you.