cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

You can modify this value in the php.ini file:

Code:
# /usr/local/lib/php.ini
However, it's not recommended to use Apache and PHP for uploading files that large. The better method is to use FTP to upload files of that size.

Thank you.
 

Kevin Wenger

Registered
Jul 31, 2012
2
0
1
cPanel Access Level
Root Administrator
Thanks a lot ! :)

I founded an other solution :
I change the value here "Main >> Service Configuration >> PHP Configuration Editor" and not in here "Main >> Server Configuration >> Tweak Settings"
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Tweak Settings value for max_upload_size for PHP is for cPanel-based areas such as PhpMyAdmin or webmail clients. Anything internal to cPanel would be impacted.

PHP scripts on websites would be impacted by the global php.ini file at /usr/local/lib/php.ini or via the individual php.ini files if you are using suPHP on the server. The global php.ini file is edited using WHM > Server Configuration > PHP Configuration Editor area as you did mention.

I'm delineating the above details to make it clear which does which, since the file you use or area you select matters based on what you are trying to fix.