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.

SOLVED php max upload size settings not being followed

Discussion in 'EasyApache' started by maestroc, May 2, 2017.

Tags:
  1. maestroc

    maestroc Active Member

    Joined:
    Aug 23, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Reseller Owner
    Even though I have changed the max upload filesize statements in three different php.ini files (one in each of the 5.5, 5.6, and 7 folders) my Joomla sites are still seeing their max uploads limited to 8MB. I have even used tweak settings in WHM to set the max filesize to 64MB but the 8MB is still being shown. It doesn't matter if I change a user's PHP version to 7, 5.6, or 5.5, they all still show an 8MB limit in Joomla even though when we look at phpinfo it states the max size is 64MB. I am changing the php.ini whose path is mentioned in the phpinfo statements but it doesn't seem to have any effect.

    Am I missing something somewhere? Where else would that be controlled at? I've already restarted Apache. Do I have to rebuild after changing those or something?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,999
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. maestroc

    maestroc Active Member

    Joined:
    Aug 23, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Reseller Owner
    Already did that. I set it to 64MB in all three sections (5.5, 5.6, and 7) and then checked via SSH to see and the php.ini files are indeed changed. However, despite this I am still getting an 8MB upload limit showing in any PHP program running in an account. This happens in both Joomla and in Wordpress and is the same on any account of the dozens of different accounts on the server.

    Is there anything else that could be stopping the changes from being applied at the account level?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,999
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you verify which version of cPanel is installed on this system? Also, what PHP handler is utilized for the version of PHP associated with the account? Did you also increase the post_max_size value?

    Thank you.
     
  5. maestroc

    maestroc Active Member

    Joined:
    Aug 23, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Reseller Owner
    I'm stupid... Forgot about the post size variable... That fixed it. Thank you for the assistance!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,999
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now solved. Thank you for updating us with the outcome.
     
Loading...

Share This Page