upload_max_filesize 2M
HI, sorry mi english!.
I have the same problem different value of "upload_max_filesize"
I put y WHM upload_max_filesize = 10M
but, i have by phpinfo 2M
if i run
/usr/local/cpanel/bin/rebuild_phpconf --current
i have this.
####
root@cpanel [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_ES.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled
RUID2: enabled
###
i found by
grep -lir "upload_max_filesize = 2M" /usr
a line in
/usr/local/cpanel/scripts/php.ini
I understand this is only a base configuration not a actually configuration.
Where i change the global configuration for this parameter?
Please helpme!
-
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 -
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.ini0 -
Hi, You can change the upload_max_filesize limit in the file /usr/local/lib/php.ini 0 -
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 -
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 -
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 -
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 -
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 -
Thank you! doing! 0
Please sign in to leave a comment.
Comments
9 comments