title: How to increase the upload limit for files on a Symfony 2 form?
body: <p>I have a form in Symfony where the user uploads files to. These files can be up to 50Mb in size.</p>
  
  <p>However, when I try to upload a file that is about 10Mb (before this, the files were no bigger than 7.2Mb) the form reloads with this error:</p>
  
  <blockquote>
    <p>The uploaded file was too large. Please try to upload a smaller file</p>
  </blockquote>
  
  <p>This is a validation error, it doesn't appear as a proper Symfony2 error.</p>
  
  <p>I've set the <code>upload_max_filesize</code> setting in the PHP.ini file to 50MB, so a 10MB file shouldn't be an issue?</p>