Roundcube Community Forum

 

How to increase size in attachement files? or Quit the ad The file exceeds the m

Started by cfreire, July 16, 2015, 06:02:05 PM

Previous topic - Next topic

cfreire

Hi  :D

I would want to know how quit the ad "The file exceeds the maximum size.." when me load a file to attach it.
May you help me please? =)

JohnDoh

this is asked quite often on the forum so a quick search might get you a fuller answer.

you need to alter the settings for upload_max_filesize and post_max_size either in the .htaccess file in the rc root or in your php settings. note: if you change php's config you must restart the webserver for them to take affect
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

cfreire

Oh I am sorry
I forgot to say you that I have done those steps that you mentioned about init.php.
Even, in a mail client as a Outlook I have attached files greater than 5Mb, but in roundcube I recieve the error "The file exceeds the maximun.....".
So i need to know how to quit this ad in roundcube.

JohnDoh

init.php? if the message is still coming up then you have not done them right. try generating a phpinfo(); from inside your roundcube directory to check where its reading its config from and what values its getting.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

cfreire

Hi
excuse me I don't know how to generate a php info.
In php.ini, i modified the followings lines:


    post_max_size = 8Mb
    upload_max_filesize = 16Mb

I can attach files greater than 5MB but only in Thunderbird or Outlook., but from roudcoube not.
Heeelp.

JohnDoh

did you also change the values in the .htaccess file in the Roundcube root?

here is how to get phpinfo() - http://php.net/manual/en/function.phpinfo.php

make a new file in the roundcube root, info.php for example and put `<?php phpinfo();` in it
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

cfreire

Hi
Ah no, i did not change the .htaccess of roundcube. Please may you say me the path where i can find this .htaccess¿? thanks.

JohnDoh

Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...