[dev] VFS and File Attachments

Roel Gloudemans roel at gloudemans.info
Sat Feb 11 03:34:07 PST 2006


Configure /etc/my.cnf. In the mysqld section set:

set-variable = max_allowed_packet=16M

for e.g. 16 meg files

Cheers,
Roel.

Quoting Eugene <eugene at eugene.cc>:

> Hey There,
>
> I have been racking my brain for a while now (many months) on trying  
>  to figure
> out why I couldn't attach files about 1MB in size or larger in e-mails, but
> was able to if the files were smaller.  I had played around with all of the
> PHP (php.ini) settings, and to no avail.
>
> I finally switched my VFS setting from "SQL Database" to "Files on the local
> system".  After making that change, I was then able to attach any   
> files, up to
> the max size set in php.ini, I wanted to...
>
> I figure that there is something in the MySql table that is keeping larger
> files from getting attached, maybe a field type or size?  Is there a way to
> fix this issue so I can use a SQL system for VFS?  Or am I stuck with storing
> files locally?
>
> Thanks,
> Eugene
>
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>





More information about the dev mailing list