I am trying to upload a large file over 1GB to 2GB using jQuery File Upload - blueimp (Ajax based) php / yii Framework 1.15 i have set these values to upload larger file
memory_limit = 2048M
upload_max_filesize = 2048M
post_max_size = 2048M
Session time set
ini_set('session.gc_maxlifetime', 7200);
I test lesser than 1GB file that is uploading successfully
when I am trying to upload larger than 1GB file it shows Forbidden error after 50mins uploading time...
Server Specifications
- it's a virtual machine, and due to it's not production yet so we only
using
1CPUand1GB memory, 64bit
File uploading is working in Google Chromeand Microsoft Edge(I have tested with 1.15 and 1.88 GB file) when I am uploading file in Mozilla Firefox less than 300MB it is uploading successfully but when I am trying yo upload greater than 300MB file after some time Ajax call is fails and give 500 Internal Server Error
header response is in below image
