[RCU] roundcube attach file size

Dirk Raetzel d00443 at spaetzle.de
Fri Mar 18 06:27:38 CET 2011


Dagia Dorjsuren wrote:
>    How to change attach file size (default 2MB) of roundcube webmail?

You need to change php config variables in php.ini.

This is the variable determing your max-filesize (default = 2M), e.g.

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 10M

In addition you need to increase the max allowed POST size e.g.

    ; Maximum size of POST data that PHP will accept.
    post_max_size = 32M

You might need to adapt as well: memory_limit, max_execution_time

Depending on your Webserver-configuration you might be able to set the
values instead of php.ini in your .htaccess file, e.g.

    php_value upload_max_filesize 10M
    php_value post_max_size 32M

For further description of the parameters look for example at


List info: http://lists.roundcube.net/users/

More information about the users mailing list