Increase Upload File (Maximum size: 2,097k)?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
zippy
Posts: 2
Joined: 27 Sep 2014, 06:28

Increase Upload File (Maximum size: 2,097k)?

Post by zippy »

MantisBT Version 1.2.17
Schema Version 183

Been searching, but still can't find a sure answer. I've been trying to figure out where (which file) to change the Upload File size to change the MAX value from 2MB to about 30MB. I need to upload modified screenshots which can be rather large when I "Report Issue". It also looks like any attachment will go to the db. Is it an easy fix to change that to go to a file in the directory instead?

I'm coming from Bugzilla, so hopefully I can figure this out.

Any help will be greatly appreciated...
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Increase Upload File (Maximum size: 2,097k)?

Post by atrol »

Check PHP settings post_max_size and upload_max_filesize (typically in file php.ini).
If you are storing your attachment in database you have check database setting max_allowed_packet (typically in file my.cnf)

Run script admin/check.php to check your settings.
Please use Search before posting and read the Manual
zippy
Posts: 2
Joined: 27 Sep 2014, 06:28

Re: Increase Upload File (Maximum size: 2,097k)?

Post by zippy »

Thanks for the reply. But having problems locating the (php.ini) file. Searched the whole Mantis directory and can't find the (php.ini) file. I found mentioning of (upload_max_filesize) and (post_max_size) in the (bug_file_upload_inc.php) file but no (php.ini) file. Where else could these PHP settings be? Also can't find (my.cnf) file. What could I be missing?

Thanks

BTW:
PHP: 5.4
SQL: MySQL 5.1.73
OS: 8.1
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Increase Upload File (Maximum size: 2,097k)?

Post by atrol »

Both files are not part of MantisBT.
php.ini is part of PHP.
my.cnf is part of MaySQL.
Please use Search before posting and read the Manual
Post Reply