Results 1 to 11 of 11

Thread: Can I increase upload limit

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Default Can I increase upload limit

    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 by chacha2000; 10-08-2009 at 11:33 AM.

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Default

    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.

  3. #3
    Registered Member
    Join Date
    May 2008
    Posts
    1,202

    Default

    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
    AccuWebHosting.Com | cPanel Hosting Provider Since 2003
    Cloud Powered Hosting | cPanel VPS
    Trusted by 20,000+ Clients Worldwide

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,295
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by chacha2000 View Post
    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.

  5. #5
    Registered Member
    Join Date
    Jun 2007
    Posts
    217
    cPanel/WHM Access Level

    DataCenter Provider

    Default What is a safe limit?

    Quote Originally Posted by thewebhosting View Post
    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?

  6. #6
    Registered Member
    Join Date
    May 2008
    Posts
    1,202

    Default

    You can set the upload limit to 5 MB which is advisable in shared hosting server.
    AccuWebHosting.Com | cPanel Hosting Provider Since 2003
    Cloud Powered Hosting | cPanel VPS
    Trusted by 20,000+ Clients Worldwide

  7. #7
    Registered Member
    Join Date
    Jun 2007
    Posts
    217
    cPanel/WHM Access Level

    DataCenter Provider

    Default Fascinating...

    Quote Originally Posted by thewebhosting View Post
    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

  8. #8
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/WHM Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by gkgcpanel View Post
    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.

  9. #9
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,331
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by chacha2000 View Post
    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

  10. #10
    Registered Member linux7802's Avatar
    Join Date
    Dec 2007
    Posts
    232
    cPanel/WHM Access Level

    Root Administrator

    Default Solution

    Quote Originally Posted by chacha2000 View Post
    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

  11. #11
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/WHM Access Level

    DataCenter Provider

    Lightbulb

    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.

Similar Threads

  1. Increase exceution time limit.
    By ArfanHaider in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 01-19-2013, 02:03 AM
  2. Increase upload size
    By dubbelpunt in forum New User Questions
    Replies: 3
    Last Post: 11-01-2010, 09:28 AM
  3. how can I increase sent mail size limit?
    By glegeros in forum E-mail Discussions
    Replies: 1
    Last Post: 03-09-2008, 06:13 PM
  4. How do i increase the upload limit in my cpanel
    By megadrive in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 07-22-2007, 04:49 PM
  5. Increase File Upload Limit
    By Soheil in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 05-23-2007, 01:32 AM
bargain