File Manager maximum file size  [SOLVED]

Locked
User avatar
dioporken
Posts: 12
Joined: Sat 13. Jun 2020, 23:11

File Manager maximum file size

Post by dioporken »

Hello, the maximum file size for my file manager is set to 64 mb, where do I change this parameter?
Thanks
User avatar
Alexander
Keyweb AG
Posts: 3809
Joined: Wed 20. Jan 2016, 02:23

Re: File Manager maximum file size  [SOLVED]

Post by Alexander »

@Mlan, sorry but that is not correct ;).

The file manager within keyhelp runs below the "keyhelp" system user.
So the user PHP config is not responsible for the settings in this case.

---------

@dioporken

You have to edit the following file:

Code: Select all

/etc/php/<PHP-VERSION>/fpm/pool.d/keyhelp.conf

Than update the following values to values of your choice.
Memory limit must be bigger than post_max_size and post_max_size must be bigger than upload_max_filesize.

Code: Select all

php_admin_value[memory_limit] = 128M
php_admin_value[post_max_size] = 70M
php_admin_value[upload_max_filesize] = 64M

After that, restart your php-fpm service:

Code: Select all

service php<PHP-Version>-fpm restart

----

With KeyHelp 21.1 the values for upload limit have been largely increased. Further manual modifications should not be necessary.
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
**************************************************************
User avatar
dioporken
Posts: 12
Joined: Sat 13. Jun 2020, 23:11

Re: File Manager maximum file size

Post by dioporken »

ok thanks!

ps
it would be possible, in a future update, to be able to edit this settings from the control panel? 8-)
User avatar
chaiavi
Posts: 34
Joined: Wed 22. Apr 2020, 22:02

Re: File Manager maximum file size

Post by chaiavi »

I will also appreciate a configuration option for this using the keyhelp panel instead of going command line
Locked