From: Fetzik, John <JF<etzik@sa...> - 2005-06-06 13:49:54
If you are using the DATABASE upload method for storing files MYSQL's
max_allowed_packet can also have a limiting effect. This can be set in
the MYSQL option file.
John S. Fetzik
S&C Electric Company
> -----Original Message-----
> From: mantisbt-help-admin@...=20
> [mailto:mantisbt-help-admin@...] On Behalf=20
> Of Glenn Henshaw
> Sent: Monday, June 06, 2005 6:27 AM
> To: mantisbt-help@...
> Subject: Re: [Mantisbt-help] Attachment file size
> PHP has several variables that can affect the size of file=20
> you can upload. They can't be adjusted from within a program.=20
> There are upload_max_file_size, and post_max_size. Further,=20
> because of the size of the file being moved, the program may=20
> need to run longer (by changing max_execution_time or=20
> memory_limit settings).
> Finally, if you are storing the files in the database, the=20
> database itself may need tuning. In MySQL, the=20
> max_allowed_packet setting will also probably need to be changed.
> For 5M files, I'd set $g_max_file_size, php's=20
> upload_max_file_size, php's post_max_size and MySql's=20
> max_allowed_packet to 5M. I'd also consider setting php's=20
> max_execution_time to 60 seconds and memory_limit to 32M.
> What is shown on the display for max size is the minimum of=20
> $g_max_file_size, php's upload_max_file_size, and php's post_max_size.
> On 6-Jun-05, at 3:38 AM, Michael Grolimund wrote:
> > Hello...
> > I use the Mantis Bug Tracker (version 1.0.0.a2)... I have a Problem=20
> > with the attachment files of the Bug Reports. The Reporters=20
> can only=20
> > upload 1 MB attachment to their reports. How can i change the 1 MB=20
> > size to 5 MB??
> > PS: Sorry about my english ;)
> > Thanks for reply
> > M. Grolimund
> Glenn Henshaw Logical Outcome Ltd.
> e: thraxisp@... w: http://www.logicaloutcome.ca
> Mantis developer and user
> This SF.Net email is sponsored by: NEC IT Guy Games. How far=20
> can you shotput a projector? How fast can you ride your desk=20
> chair down the office luge track?
> If you want to score the big prize, get to know the little guy. =20
> Play to win an NEC 61" plasma display:=20
> Mantisbt-help mailing list