title: Uploading a file larger than 2GB using PHP
body: <p>I'm trying to upload a file larger than 2GB to a local PHP 5.3.4 server. I've set the following server variables:</p>
  
  <pre class="lang-none prettyprint-override"><code>memory_limit = -1
  post_max_size = 9G
  upload_max_filesize = 5G
  </code></pre>
  
  <p>However, in the error_log I found:</p>
  
  <blockquote>
    <p>PHP Warning:  POST Content-Length of 2120909412 bytes exceeds the limit of 1073741824 bytes in Unknown on line 0</p>
  </blockquote>
  
  <p>Can anyone tell me why this keeps failing please?</p>