title: PHP file size exceeds the limit even though the limits are higher in php.ini
body: <p>I'm trying to upload a PDF file which is bigger than 200 MB and then convert it to JPEG images in my Amazon Linux server. However, I get the following error before the conversion begins:  </p>
  
  <pre><code>PHP Warning:  POST Content-Length of 242679370 bytes exceeds the limit of 209715200 bytes in Unknown on line 0
  </code></pre>
  
  <p>I have been looking through previous questions if I miss any setting but all of my limits are higher  than the uploaded file size. Here's what I got in my <code>php.ini</code>:</p>
  
  <pre><code>max_execution_time = 30000
  memory_limit = 512M
  post_max_size = 512M
  upload_max_filesize = 512M
  </code></pre>
  
  <p>I have verified these settings via <code>phpinfo()</code>.  </p>
  
  <p>I have also increased <code>KeepAliveTimeout</code> to 15 in my Apache configuration.  </p>
  
  <p>I also made sure that if there's something wrong in my script but it works as expected for files under 200 MB. Any ideas about this problem? Perhaps I am missing something or did not set the related limit correctly.</p>