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!

different value of "upload_max_filesize"

Discussion in 'EasyApache' started by piklu, Mar 25, 2014.

  1. piklu

    piklu Registered

    Joined:
    Mar 25, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello there,

    I have tweak the php settings to have "upload_max_filesize" to 10MB at "PHP Configuration Editor"

    If the cpanel user check php setting from his account he can see the same value, but if he placed a info.php file at public_html the the same value is shown as 2MB. Even checking the same with some other accounts confirm the same behaviour.

    placing a php.ini at public_html with vale
    upload_max_filesize 20M

    doesn't have any effect

    How can we fix this issue for every user for all the php versions ?
    Cpanel is running with cloud linux

    Thanks
     
  2. es2alna

    es2alna Well-Known Member

    Joined:
    Mar 30, 2014
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Could you please provide an output for this command?
    Code:
    grep "upload_max_filesize" /usr/local/lib/php.ini
    Also, Did you restart Apache after making this change?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Also, please let us know which PHP handler is enabled on this system. You can check using this command:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    Thank you.
     
    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