Change Maximum Attachment Size in Roundcube

NethServer Version: NethServer release 7.3.1611 (Final)
Module: Roundcube Webmail 1.1.9

I need to change the maximum attachment size in Roundcube from 2Mb to 8Mb, but it does not work.
I changed in /etc/php.ini
Upload_max_filesize = 8M
Post_max_size = 8M

But in Roundcube it is not updated. How do I solve it?

Did you reloaded/restarted apache after the change?

There are some php properties that can be changed with config and db commands, without having to manually edit the file.

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

Hello @dnutan, sorry for jumping into this support post…but I wanted to confirm something about these config and db commands you’ve listed. Does this change to UploadMaxFilesize and PostMaxSize in PHP also affect the upload size for other apps like Nextcloud? Or are these commands only for mail?


With the commands I work, but modifying the php.ini does not.
Thanks @dnutan

The changes are php wide, affecting other web apps using the base/default php version, unless custom settings are in use (for instance through .htaccess files).

It does not affect nextcloud and other applications using a different php version.


Right, this depends on the version of PHP used by each application. Good to know. :+1:

Thank you.

for the default php version of centos, you can install nethserver-phpsettings from my repo, you will have a panel to trigger your settings.