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!

upload files limits issue & php.ini values

Discussion in 'General Discussion' started by kiti, Sep 12, 2017.

  1. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    france
    cPanel Access Level:
    Root Administrator
    Hi,

    In the multiPHP ini editor there is an option to setup the upload_max_filesize
    However, on its own, this setting is useless for web applications like WordPress or drupal.
    The post_max_size in php ini should be as much as the upload_max_filesize otherwise it does not change anything.

    Let me give you an example:

    I install WHM, i go to multiphp ini editor and I setup the upload_max_filesize to 64M hoping my customers will be able to upload files that will be maximum 64Mb to their wordpress websites.

    However, behind in php.ini, the post_max_size = 8M. So in fact, my customers will only be able to upload max. 8M files.

    I would need to go to the editor mode of php.ini and change post_max_size = 64M

    This thread talks about this issue:
    PHP post_max_size overrides upload_max_filesize
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @kiti,

    We're including post_max_size to the Basic Mode of the MultiPHP INI Editors in cPanel version 68.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice