Rabia
April 8, 2023, 9:12am
1
Hi All,
I’m looking for advise on how to resolve the upload of 400MB file (Zip file) using the File Manager in CyberPanel, I’ve configured the PHP and increase the limit to 512MB but still facing same issue.
Please advise how to resolve this issue.
Rabia
April 8, 2023, 9:41am
3
Seems I’ve figured out the solution, it’s working fine now,
Please follow the below,
Using Cyberpanel GUI:
Access the Websites list then click On Manage of your website.
Go down to vHost Conf
Search for “phpIniOverride ”
To add inside the {} the below:
php_value upload_max_filesize “512M”
php_value post_max_size “512M”
Should looks like below, make sure you added double quotes (Write it yourself don’t copy/paste)
phpIniOverride {
php_value upload_max_filesize “512M”
php_value post_max_size “512M”
}
Using Unix:
Connect to your server
Access the below path:
/usr/local/lsws/conf/vhosts/
vi vhost.conf
Search for “phpIniOverride ”
To add inside the {} the below (Bash command to type just press “i”):
php_value upload_max_filesize “512M”
php_value post_max_size “512M”
Once done,
Press “ESC” then “:wq”
Retry to upload again.
system
Closed
April 8, 2023, 12:41pm
4
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.