fbpx

Have a Question?
< All Topics
Print

5 - Change Upload Limit for Filemanager

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.

10 responses to “5 - Change Upload Limit for Filemanager”

  1. Brandon says:

    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.

    • Nguyễn says:

      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.

      • Cyber Panel says:

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

        at the end of the file add

        DATA_UPLOAD_MAX_MEMORY_SIZE = 52428800

        then systemctl restart lscpd

        • Nguyễn says:

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

          • Nguyễn says:

            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 says:

            What is the output of

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

            only paste the last 10 lines.

  2. ATIT TANDON says:

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

  3. Damian says:

    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:

Table of Contents

chevron-down