Upload limitation in the File Manager

Locked
heridon
Posts: 4
Joined: Mon 26. Jul 2021, 12:01

Upload limitation in the File Manager

Post by heridon »

Hello, can anybody help me with the Upload limitation in the File Manager? Default on is (Maximum file size: 64.00 MB / Total: 70.00 MB,) but I need more. I changed >_PHP (In Edit User), and put some bigger numbers (post_max_size & upload_max_filesize to 512M), but in File manager still have same limitation:(
I try also to put these values in Additional PHP settings (post_max_size = 512M & memory_limit = 512M), but still no luck.
Any ideas?
Thank you!
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Upload limitation in the File Manager

Post by Alexander »

Hello,

some background information: The file manager is run by the system user "keyhelp". Changing the limits of a user account, as you have done, does not affect the file manager, but only the domains that the particular user owns.

What you have to do is:
-> log into your server
-> open the file: "/etc/php/<PHP-VERSION>/fpm/pool.d/keyhelp.conf"
-> update the values: "post_max_size" and "upload_max_filesize", you will also have to increase the "memory_limit" value.
-> save it
-> reload the PHP-FPM, "service php<PHP-VERSION>-fpm"

(You will have to replace <PHP-VERSION> with the default PHP version on your system)
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
heridon
Posts: 4
Joined: Mon 26. Jul 2021, 12:01

Re: Upload limitation in the File Manager

Post by heridon »

Hello Alexander, Thank you for your prompt response. Ok, this works. I managed to increase the upload limit but still can't upload files bigger than cca 256MB (even I put a limit to 512MB), but that's probably a problem with timeouts.
One suggestion for a future version. Some progress bar or counter will be helpful as information regarding upload progress.
Thank you!
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Upload limitation in the File Manager

Post by Tobi »

@Alexander

Would it be possible to switch to jQuery Upload by blueimp?
https://github.com/blueimp/jQuery-File-Upload
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Locked