I recently moved my file upload service to a new host, a Windows server (was on CentOS before). I'm running IIS + PHP on it, and moved all the php.ini settings from the previous server to the new one. The problem is, however, that large uploads seem to be timing out. The JS uploader never gets a response from the PHP script, as I guess it times out.
Here are the most common upload related php.ini options I have set:
max_execution_time=0
max_input_time=0
post_max_size=5000M
upload_max_filesize=4900M
memory_limit=5500M
file_uploads=On
session.gc_maxlifetime=172800
session.cache_expire=2880
(I have limited the download sizes in the script, don't worry)
According to online resources and others' problems I've read, those settings should let the uploads finish just fine - and they did on the previous server. Smaller (and quicker?) uploads work just fine, and all the required directories are writeable.