chacha2000

Registered
Oct 8, 2009
2
0
51
My upload limit is capped at 25MB per file in file manager. I'm a graphic designer and often have single files that exceed this amount. Is there any way to change the upload maximum?
 
Last edited:

chacha2000

Registered
Oct 8, 2009
2
0
51
Here's what someone else suggested in a related thread:

if you have Cpanel 11 go to WHM and click on 'Service Configuration' then go to 'PHP Configuration Editor' You should then see upload_max_filesize. Change that to what you need.

I hope this helps.
__________________
Hightek Designs - The Future In Websites
Reseller and Shared Hosting


I have CP 11, but I don't see "service configuration" anywhere on the whm home page.

Please help. Thanks.
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
You can increase the upload limit through SSH if you have an access to your server. You will have to edit the php.ini file and increase the upload_max_filesize which is located at /usr/local/lib/php.ini
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
My upload limit is capped at 25MB per file in file manager. I'm a graphic designer and often have single files that exceed this amount. Is there any way to change the upload maximum?
If you are not the server's administrator (user root), you may need to contact your hosting company about this.
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
What is a safe limit?

You can increase the upload limit through SSH if you have an access to your server. You will have to edit the php.ini file and increase the upload_max_filesize which is located at /usr/local/lib/php.ini
Only question I have is what is a safe upload max limit? Our cPanel servers have 1200 to 1500 accounts on them. We set the upload max limit to 2M (default). How high should be set it or allow it before it can cause a load problem with the server?
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
You can set the upload limit to 5 MB which is advisable in shared hosting server.
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
Fascinating...

You can set the upload limit to 5 MB which is advisable in shared hosting server.
I have been informed by one of my clients that he found a hosting provider that will allow up to 64MB on their max_upload_size value in php.ini (server wide).

I've contacted that hosting provider and verified this to be true. So how can they do that and not overload their servers???

I really need an answer here from the cPanel staff.

Thanks,
Peter
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
I have been informed by one of my clients that he found a hosting provider that will allow up to 64MB on their max_upload_size value in php.ini (server wide). I've contacted that hosting provider and verified this to be true. So how can they do that and not overload their servers??? I really need an answer here from the cPanel staff.
It is entirely possible to use larger upload limits for the File Manager and not induce extreme server load. As far as what limit to use, this decision must be made by the service provider that controls the server; a preferred limit could vary depending on the server's actual usage (e.g., how frequently the hosted users use the functionality), and also depending upon the available disk storage space for each account. If the hosted accounts are more limited in how much space they have, it may be acceptable to use a lower number for the limit; or if the server hardware is and disk storage space is on the "cutting-edge" (e.g., the latest and greatest) then it may be more acceptable to use a higher number for the limit.

There is not a perfect limit to use nor is there a single number that fits the needs of everyone; this is a Systems Administration decision and depends upon the needs of the service provider.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
My upload limit is capped at 25MB per file in file manager. I'm a graphic designer and often have single files that exceed this amount. Is there any way to change the upload maximum?
Not sure I'm following this thread correctly, but the "cap" for File Manager is located in WHM > Tweak Settings > System, section.

The maximum file size in MB allowed for upload through cPanel File manager. Use "unlimited" for unlimited

This is different than upload_max_filesize and post_max_size in your php.ini

HTH
 

linux7802

Well-Known Member
Dec 14, 2007
232
1
68
cPanel Access Level
Root Administrator
Solution

My upload limit is capped at 25MB per file in file manager. I'm a graphic designer and often have single files that exceed this amount. Is there any way to change the upload maximum?
If your server is suexec enabled then you can increase the upload limit for your each an every domains hosting account individually by using php.ini.If you are not sure that your server is Suexec or not? then refer following URL

Simply check server is SuExec or not? | Linux Servers cPanel webhosting blog

Editing php.ini is the easiest way, but if your server is not SuExec enabled then you can increase the upload limit by using .htaccess file with the following code.

RewriteEngine On

php_value upload_max_filesize 30M
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Infopro is correct; to modify the maximum file size for files loaded via cPanel File Manager, this must be done via the Tweak Settings page in WHM (e.g., via root access to WHM).

There are also limits you can define in a PHP configuration (php.ini) file, but for the File Manager this is done via WHM Tweak Settings.