Roundcube Community Forum

 

Error: Exceeds the maximum size

Started by ENavarro, March 17, 2017, 06:15:31 PM

Previous topic - Next topic

ENavarro

Hi, I have my roundcube mounted on ubuntu, everything works fine, the only problem I have is when I try to attach a file and I get the error: "the file exceeds the maximum size (2 mb)", I could help with that Problem please, where I have to correct, I await your response, thank you.

SKaero

Change the upload_max_filesize and post_max_size options in the php.ini.

ENavarro

Quote from: SKaero on March 17, 2017, 07:20:51 PM
Change the upload_max_filesize and post_max_size options in the php.ini.

Hello, my php.ini configuration does not have any line where they say those options that give me to change, I have to create or is created by default those lines?  :o

SKaero

They would be in the full php.ini file but I'm guessing your trying to overwrite the file so you would need to add the lines if there not current in the file.

ENavarro

#4
Quote from: SKaero on March 21, 2017, 10:53:36 AM
They would be in the full php.ini file but I'm guessing your trying to overwrite the file so you would need to add the lines if there not current in the file.

Hello, since I thank you for your help in all my post, now I did what I was told and the time I entered my roundcube webmail I got the following error, I have installed my roundcube in ubuntu and the roundcube does not allow me to upload files as Max 2 mb, could you please guide me, thank you.


SKaero

That configuration needs to go in the php.ini not in Roundcube config file.

rm13

Did you restart the web server after changing php.ini ? I think it needs to reload it to see the changes.

Also check  /etc/roundcube/htaccess

That will override the php.ini in a default setup.