Change upload size file webmail roundcube

NethServer Version: 7.3

Hello to all,
please give me info on how to increase the size of files to load on roundcube webmail?
I modified the file /etc/php.ini Upload_max_filesize = 8M
Post_max_size = 8M, but it does not work.
I saw that there is a file in /etc/php.d/nethserver.ini in you can make this change, but it’s not advisable to edit this file.

How to do?

Thank you

i have run this:

config setprop php UploadMaxFilesize 8
config setprop php PostMaxSize 8
signal-event nethserver-php-update

systemctl restart httpd

it is work for me!

is this the best way to do this?

Yes, it’s ok to use it. I think it’s not necessary to manually restart httpd service.

Another option is to install the php settings community module: