title: php curl post large data
body: <p>I'm using php5-curl to post large data around 1M.<br>
  When I receive the post data. It correct sometimes, but lost some data sometimes.<br>
  e.g<br>
  I post to </p>
  
  <pre><code>http://www.example.com/upload  
  post data  
  md5=769ab98787e897f89e&amp;data={large data and urlencode}
  </code></pre>
  
  <p>md5 field is the data's md5.<br>
  But when I receive the data and calc the md5. it incorrect sometimes.  </p>
  
  <p>I'm running nginx as a web server and php-fpm as FastCGI.<br>
  And I have add </p>
  
  <pre><code> client_max_body_size 10m;
  </code></pre>
  
  <p>to nginx.conf</p>