I have changed the value of upload_max_filesize to 51M in php.ini and restarted the Apache Server. On the "Ticket Settings and Options" page under Admin Panel, I can now set the Maximum File Size of attachments up to 512MB.
Howerver, I cannot upload a file with size 336MB and I got the following error messages in the Apache's error.log. It seems that osTicket have set a limit on the file size to 8MB.
==============
PHP Warning: POST Content-Length of 344634845 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://10.13.143.240/open.php PHP Warning: POST Content-Length of 344634853 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://10.13.143.240/open.php PHP Warning: POST Content-Length of 344634845 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://10.13.143.240/open.php (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed. PHP Warning: POST Content-Length of 344634837 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://10.13.143.240/open.php (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed. PHP Warning: POST Content-Length of 344634845 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://10.13.143.240/open.php
==============
Any help!