title: Laravel 4.2 big file upload
body: <p>I'm using Laravel 4.2 and I have some problems with uploading big files. If I upload small files all is working good.</p>
  
  <p>I changed my php.ini and I stop/start the wamp server.</p>
  
  <p><code>post_max_size = 128M</code></p>
  
  <p><code>upload_max_filesize = 64M</code></p>
  
  <p>on html file:</p>
  
  <pre><code>&lt;form role="form" method="post" action="{{ URL::route('post-admin-cat-princ') }}" enctype="multipart/form-data"&gt;
  
          &lt;div class="form-group"&gt;
              &lt;label for="picture1"&gt;Catalogue&lt;/label&gt;
              &lt;input id="picture1" name="picture1" type="file" multiple class="form-control" /&gt;
              @if($errors-&gt;has('picture1'))
                  {{ $errors-&gt;first('picture1') }}
              @endif
          &lt;/div&gt;
  
          &lt;input class="btn btn-success" type="submit" value="Add catalogue" /&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>on routes:</p>
  
  <pre><code>Route::post('/catalogprinc', array('uses' =&gt; 'AdminController@postCatPrin', 'as' =&gt; 'post-admin-cat-princ'));
  </code></pre>
  
  <p>on controller:</p>
  
  <pre><code>public function postCatPrin() {
      if(Input::hasFile('picture1')) {
         save it;
         return Redirect::route('get-catalog')-&gt;with('success', 'Catalogue was added!');
      }
      return Redirect::route('get-catalog')-&gt;with('fail', 'There was no catalogue!');
  }
  </code></pre>
  
  <p>The problem is that if the file is not big (image) it's working fine. If I try to add a pdf file (12MB) it fails and it will return the 'error' with <code>There was no catalogue!</code></p>
  
  <p>I have no idea what is wrong.</p>
  
  <p>Thanks you!</p>
  
  <p>EDIT: I am not using <code>csrf</code>.</p>