5 – Change Upload Limit for Filemanager

You are here:
< Back

v1.7.0 and above

v1.7.0 and above default upload limit is 200MB, regardless of upload limit of your Global PHP. To increase this limit go to:

 

https://<IP Addres>:8090/websites/domain.com

Then scroll down and click vhost Conf

 

 

Then change the upload limit by editing following two parameters:

 

  1. php_value upload_max_filesize “200M”
  2. php_value post_max_size “250M”

post_max_size should be greater than or equal to upload_max_filesize.


Before v1.7.0

After 1.6, filemanager uses your website PHP to upload data. To change upload limit you need to change two parameters of your PHP.

 

  • upload_max_filesize
  • post_max_size

 

Make sure post_max_size is greater than upload_max_filesize. Read this guide on how to change your PHP settings.

 

You need to change these settings for the PHP version your website is using. You can also change your PHP version through Modify Website.

Author's page
Cyber Panel

Comments

  • Brandon December 15, 2019 at 2:28 pm

    In Cyberpanel v1.9 there are no php_value upload_max_filesize “200M” or php_value post_max_size “250M” set in the vHost config file of websites.

    Reply
    • Nguyễn December 25, 2019 at 9:20 am

      That right. I dont know how to change litmit. Did you manager it? Can you help me. Thank you. They dont update for lastest version.

      Reply
      • Cyber Panel December 25, 2019 at 12:20 pm

        nano /usr/local/CyberCP/CyberCP/settings.py

        at the end of the file add

        DATA_UPLOAD_MAX_MEMORY_SIZE = 52428800

        then systemctl restart lscpd

        Reply
        • Nguyễn December 25, 2019 at 1:18 pm

          It not working for me. I do that but I can upload file (75M) through file manager.

          Reply
          • Cyber Panel December 26, 2019 at 7:48 am

            Do you see any errors in the main log file?

            https://cyberpanel.net/docs/log-files-on-cyberpanel/

          • Nguyễn December 26, 2019 at 5:10 pm

            Hi friend. I try upload to day. But it still notworking. This is 3 time i reinstall Cyberpanel to try.
            When i upload it running, finish. But no file add to server. No error messeger.
            This is log:
            [12.25.2019_02-00-02] Running SSL Renew Utility
            [12.25.2019_02-00-02] Checking SSL for qlbh.phukienphim.com.
            [12.25.2019_02-00-02] SSL exists for qlbh.phukienphim.com. Checking if SSL will expire in 15 days..
            [12.25.2019_02-00-02] SSL exists for qlbh.phukienphim.com and is not ready to renew, skipping..
            [12.25.2019_13-17-16] Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.
            [12.25.2019_13-52-58] No JSON object could be decoded
            [12.25.2019_14-22-06] No JSON object could be decoded
            [12.26.2019_02-00-03] Running SSL Renew Utility
            [12.26.2019_02-00-03] Checking SSL for qlbh.phukienphim.com.
            [12.26.2019_02-00-03] SSL exists for qlbh.phukienphim.com. Checking if SSL will expire in 15 days..
            [12.26.2019_02-00-03] SSL exists for qlbh.phukienphim.com and is not ready to renew, skipping..
            [12.26.2019_17-05-08] No JSON object could be decoded

          • Cyber Panel December 30, 2019 at 12:35 pm

            What is the output of

            cat /usr/local/CyberCP/CyberCP/settings.py

            only paste the last 10 lines.

  • ATIT TANDON January 4, 2020 at 3:58 pm

    i have done everything mentioned above but the file manager and php myadmin upload limit is unchanged. Please advise what is the issue

    Reply
    • Cyber Panel January 6, 2020 at 7:10 am

      Updated the documentation to change the upload limit for PHPMyadmin.

      Reply
  • Damian January 24, 2020 at 4:40 am

    tried everything , changed many os , many configs, everything i have found here and in google search and nothing fixed the problem of file manager limit of 2 GB. and this stupid error: can not be uploaded, Error message:

    Reply
Leave a Reply to Damian Cancel reply