SVN Releases > Issues & Bugs

Error - Attachment Maximum allowed file size

(1/2) > >>

fernando-sianet:
Hello everyone,

Please, how can i change the value:
Maximum allowed file size. I need to change for 25MB



if I change the file config/defaults.inc.php ===> $config['max_message_size'] = '34M';

appears correctly = 25MB, but changes the alert message for 34MB:



it seems that the variable changes the two values.

The php.ini:
upload_max_filesize = 25M;
post_max_size = 25M;

Regards

JohnDoh:
The roundcube config value `max_message_size` is used to define the maximum size of a message, that is the combined size of all the attachments. It has no effect on the PHP vars `upload_max_filesize` and `post_max_size` which control the size of induvial file uploads.

After you change your PHP config you need to restart your webserver.

fernando-sianet:
Hi,

Thank you very much for answering me.

I change the values:

upload_max_filesize = 25M;
post_max_size = 25M;

and restart httpd, but it had no effect. Continues showing the value of 18MB: Maximum allowed file size is 18 MB

have another file, parameter that I can try to change?

JohnDoh:
Are you sure you have changed the correct php config file? there is no .htaccess file or anything like that? If you are not sure may be try dumping out phpinfo() from your roundcube dir to see where its getting its config from.

fernando-sianet:
something I realized is that after it changes the value to upload_max_filesize = 18M; in php.ini

He changes for:

Maximum allowed file size is 18 MB

but if I change to 25M in upload_max_filesize = 25M;

it remains at 18 MB. He is no more than 18 MB.

Navigation

[0] Message Index

[#] Next page

Go to full version