fbpx

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.

To change phpMyAdmin upload limits to a higher value:

 

systemctl restart lscpd

In simple words, open_basedir protection forbids your PHP scripts to access file system beyond the specified path i.e.

open_basedir "/home/domain.com/"

If this path is specified for open_basdir, your PHP code cannot access file system beyond /home/domain.com/

Which basically helps in case a single site on the server is hacked.


How to enable open_basedir Protection

For open_basedir you need CyberPanel version 1.6.4 stable and OpenLiteSpeed version 1.4.32 stable.

While creating a site you can opt to enable open_basedir protection, if not opted this is disabled by default.


Enable/Disable open_basedir Protection

In case you forgot to enable open_basedir protection while creating a site you can do so later as well.

Open website launcher:

 

Once launcher is opened, scroll down to find open_basedir under Files.

From a drop-down, you can either select Enable or Disable and apply changes. Similarly, you can also control open_basedir for Child Domains through child domain launcher.

chevron-down