Skip to main content

upload_max_filesize 2M

Comments

9 comments

  • SysSachin
    Hello, You can check php.ini file path using the command. php -i | grep php.in The above command will show the exact php.ini file path then you can change the value.
    0
  • aantigual
    Hello, You can check php.ini file path using the command. php -i | grep php.in The above command will show the exact php.ini file path then you can change the value.

    Thank for your response: Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini
    0
  • SysSachin
    Hi, You can change the upload_max_filesize limit in the file /usr/local/lib/php.ini
    0
  • cPanelMichael
    Hello :) Please modify /usr/local/lib/php.ini directly via the command line, and then restart Apache. Or, assuming you are using EasyApache 3, edit it via the option referenced in this document: PHP Configuration Editor - Documentation - cPanel Documentation Thank you.
    0
  • aantigual
    Thank to both, but my php.ini have that. root@cpanel [~]# cat /usr/local/lib/php.ini | grep upload ; Maximum allowed size for uploaded files. upload_max_filesize = 10M @cPanelMichael i use EasyApache 3, and modify settings php by the edit that you refer to me In the domain no have a .htaccess or php.ini file configuration.
    0
  • cPanelMichael
    Are you sure this domain name resolves to the server you are making the changes on? Did you restart Apache after manually editing the /usr/local/lib/php.ini file? Thank you.
    0
  • aantigual
    Sure, This is a php info in the domain: ]http://i63.tinypic.com/m78a52.jpg
    And this is my cfg in WHM ]http://i64.tinypic.com/10fz2wi.jpg
    0
  • cPanelMichael
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • aantigual
    Thank you! doing!
    0

Please sign in to leave a comment.