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.

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?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page