32MB file uploads - how?
Posted: 05 Jan 2018, 09:59
mantisBT 2.5.0
mariadb/MySQL 5.5.56-MariaDB
CentOS Linux release 7.4.1708
I've recently implemented mantisbt 2.5.0 as a replacement for our long standing previous 1.2.3. everything is tickety boo.
I then was requested to increase the max upload file size to 8MB - I tweaked the "obvious" parameters and it just worked fine.
I was then asked to increase that to 32 MB. So I tweaked the same things. And.. it sort of works... but doesn't. By that I mean I can upload a file up to 17 MB (17815306 bytes) fine - it adds immediately.
But anything above 17Mb (eg 17.01 MB) doesn't; load - it looks as if it is loadin ie the green swirly bar starts... but never completes.
*sigh*
These are my configurations (FWTW)
/etc/php.ini
post_max_size = 32M
upload_max_filesize = 32M
/var/www/html/config/config_inc.php
$g_max_file_size = 33554432; # 32 MB
I've even tweaked the DB configs too
/etc/my.cnf
$g_allow_file_upload = ON;
$g_file_upload_method = DATABASE; # or DISK DATABASE
$g_max_file_size = 33554432; # 32 MB
also
max_allowed_packet=2048
Has anyone else had any success with altering upload limits to these levels?, or has any idea why >17 MB just "spins" rather than uploading immediately <=17MB
17MB seems such an odd number too!
ian
mariadb/MySQL 5.5.56-MariaDB
CentOS Linux release 7.4.1708
I've recently implemented mantisbt 2.5.0 as a replacement for our long standing previous 1.2.3. everything is tickety boo.
I then was requested to increase the max upload file size to 8MB - I tweaked the "obvious" parameters and it just worked fine.
I was then asked to increase that to 32 MB. So I tweaked the same things. And.. it sort of works... but doesn't. By that I mean I can upload a file up to 17 MB (17815306 bytes) fine - it adds immediately.
But anything above 17Mb (eg 17.01 MB) doesn't; load - it looks as if it is loadin ie the green swirly bar starts... but never completes.
*sigh*
These are my configurations (FWTW)
/etc/php.ini
post_max_size = 32M
upload_max_filesize = 32M
/var/www/html/config/config_inc.php
$g_max_file_size = 33554432; # 32 MB
I've even tweaked the DB configs too
/etc/my.cnf
$g_allow_file_upload = ON;
$g_file_upload_method = DATABASE; # or DISK DATABASE
$g_max_file_size = 33554432; # 32 MB
also
max_allowed_packet=2048
Has anyone else had any success with altering upload limits to these levels?, or has any idea why >17 MB just "spins" rather than uploading immediately <=17MB
17MB seems such an odd number too!
ian