I run a file hosting site written in PHP. Whenever a large file (400MB+) is uploaded, the value for $_File ['size'] is returned as zero and the file fails to upload. I checked out the error code that accompanies this and it is "Value 7 Failed to write file to disk". I have done a lot of "playing around" with php.ini settings, specifically upload_max_filesize, post_max_size, and memory_limit, but none of the combinations I try seem to help. Are there any other areas I should be looking that could be causing a failed write to disk? My current php.ini settings are:
upload_max_filesize = 1024M
post_max_size = 1250M
memory_limit = 300M
I have tried setting the memory_limit all the way up to 1500M and down to 128M but still no luck. max_input_time is also set to -1 so I don't think that's the problem.