move_uploaded_file file disappears from tmp but does not reach destination
<p>I have a really odd problem. I am using an upload form to upload videos. Sometimes I have to try twice to upload a file so I know it works but these files take a long time to upload so I don't want the end-user getting mad if the process fails. Also, this works 100% of the time on my test machine so I am thinking there is a config problem.</p>

<p>The file is 330mb and I set <code>upload_max_filesize</code> and <code>post_max_size</code> to 500mb. The <code>max_execution_time</code> and <code>max_input_time</code> are set to 60000 for testing purposes. <code>memory_limit</code> is what I think may be the problem. It is set to 128mb. Does it need to be higher to have a consistent upload success rate? Anybody know of any other problems that could cause things to go wrong?</p>
