Page 1 of 1

attachment size

Posted: Sun Jul 05, 2015 3:38 pm
by Sanity
in Roundcube, how can we change the size of attachments?

Re: attachment size

Posted: Sun Jul 05, 2015 4:53 pm
by imperio
Try to change this limits

Code: Select all

upload_max_filesize = 
post_max_size =  

Re: attachment size

Posted: Sun Jul 05, 2015 7:10 pm
by Sanity
In the php.ini?

I edited the /etc/php5/apache2/php.ini

i ve upload_max_filesize = 64M
post_max_size = 64M

when I send an attachment in roundcube, I have attached max 5mb

Re: attachment size

Posted: Sun Jul 05, 2015 7:13 pm
by imperio
What OS on your server ?

Re: attachment size

Posted: Mon Jul 06, 2015 11:36 am
by Sanity
Ubuntu 12.04

Re: attachment size

Posted: Wed Jul 22, 2015 1:25 pm
by Sanity
up

Re: attachment size

Posted: Thu Jul 23, 2015 2:36 am
by skurudo
I think your problem in htaccess from default config. Develover-Roundcube-guys think 5 megabyte is enough. And it's smart may be to think that way ;-)

Check this out -> /etc/roundcube/htaccess

Code: Select all

php_value upload_max_filesize 120M
php_value post_max_size 120M
php_value memory_limit 512M
120M = 120Megabyte -- it's just example, you can change this.

In /etc/php5/apache2/php.ini check again those:

Code: Select all

post_max_size = 64M
upload_max_filesize = 64M
max_input_time = 180
memory_limit = 128M
max_execution_time = 180

Re: attachment size

Posted: Tue Jul 28, 2015 7:30 am
by Sanity
Thank you so much for everything!

Re: attachment size

Posted: Tue Jul 28, 2015 7:35 am
by skurudo
Sanity wrote:Thank you so much for everything!
You're welcome, glad to help ;-)