Roundcube Community Forum

 

max attach size?

Started by hkr, March 18, 2008, 04:34:34 AM

Previous topic - Next topic

hkr

how can i change the max attachment size in roundcube, it dosent seem to allow big sized files.

thnx..

mr-morris

Hello,

I have the same problem. I made the following changes:

php.ini
post_max_size = 12M
.htaccess

 php_flag display_errors Off
 php_flag log_errors On
 php_value error_log logs/errors
 php_value upload_max_filesize 10M
 php_value post_max_size 12M
 php_value memory_limit 128M
 php_value session.auto_start 0
 php_value zlib.output_compression 0
 php_value magic_quotes_gpc 0

When I try to send mails with attachment larger than 2MB I get the information that the attachment is bigger than 2MB. How can I solve the problem?

Greatings from Germany
Maurice

mr-morris

Hello,

I found the solution in the php.ini:

php.ini
upload_max_filesize = 10M
Now it is working :D

hkr

Could you pls tell me where i can find the php.ini file, i cant seem to find it anywhere.

thnx..:-)

hkr

ok i found the php.ini file, made the changes too, but when trying to upload a big file it says in Roundcube that i was trying to upload a file bigger then 2mb, how do i fix it?
thnx..

hkr


jansportw

At least on my server, after I made the change to the php.ini file, I had to then copy that file into all of my Round Cube Folders (at least the main ones). Something about without there being a php.ini file in that specific folder, that any php function run out of that folder defaulted to the server settings.

FYI, I only needed to change the php.ini file (upload_max_filesize & post_max_size), not the .htaccess file.

hkr

thnx for the reply, i tried setting both the setting to"100M" but it still dosent work.any other ideas?