I'm trying to upload a file of 4 GB or more file (sum 5GB) files - 500 Internal server error!!! Any idea?
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295" />
</requestFiltering>
</security>
</system.webServer>
system.web > HttpRuntime > maxRequestLength 5079040 (KB)
PHP I'VE TRIED:
post_max_size = 0 upload_max_filesize = 0
post_max_size = 5G upload_max_filesize = 4G
post_max_size = 5120M upload_max_filesize = 4096M
It works untill 2GB All the other: 500 - internal error.
nothing in logs
iis has its own limit to upload the file which is 2 GB.
But you can try the below workaround to upload the larger file with iis site:
Set ini_set('max_execution_time', 300); //300 seconds = 5 minutes in php.ini file
Set iis application pool idle time out to 0