Page 1 of 1

File Manager maximum file size

Posted: Sun 31. Oct 2021, 00:40
by dioporken
Hello, the maximum file size for my file manager is set to 64 mb, where do I change this parameter?
Thanks

Re: File Manager maximum file size  [SOLVED]

Posted: Mon 1. Nov 2021, 09:30
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.

Re: File Manager maximum file size

Posted: Tue 2. Nov 2021, 02:04
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-)

Re: File Manager maximum file size

Posted: Wed 8. Dec 2021, 10:17
by chaiavi
I will also appreciate a configuration option for this using the keyhelp panel instead of going command line