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.

upload_max_filesize - Unchangable

Discussion in 'General Discussion' started by driverC, Jul 3, 2011.

  1. driverC

    driverC Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I tried to modify the upload_max_filesize value using a php.ini file on a shared hosting account. The change was not applied according to phpinfo.php.

    So then I logged in as root to WHM and under PHP Configuration -> Advanced I changed the server's global setting for upload_max_filesize. I looked at /usr/local/lib/php.ini via shell to make sure the change was done successfully which it was. Then I restarted Apache.

    However, even after that upload_max_filesize is still at 2 MB according to phpinfo.php. At this time it seems as if there is no way to modify this value. Does anyone have any idea how this can be modified by the administrator of the server or by the end user ?

    Thank you !
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What is the path to the php.ini in the phpinfo page for this line:

    This is the php.ini that the account would be using for the values.
     

Share This Page