title: How to upload large file > 5MB in laravel 5
body: <p>May I know how to upload large file, more than 5Mb in Laravel 5? I am trying to upload around 10MB image file but it is not uploading, I searched a lot and updated following settings in <code>php.ini</code></p>
  
  <pre><code>post_max_size = 500M;
  memory_limit = 500M;
  upload_max_filesize = 500M
  </code></pre>
  
  <p>I have restarted Apache server but still having issue. Is there any other setting in <code>php.ini</code> or in Laravel to upload large files? Please help.</p>
  
  <p><strong>Edit</strong></p>
  
  <pre><code>$image = $request-&gt;file('image');
  
              if($image &amp;&amp; $image != '') {
  
                  $extension  = $image-&gt;getClientOriginalExtension();
                  $imageName = $this-&gt;getUniqueName($extension);
                  $image-&gt;move('gimages/profile_images/', $imageName);
                  $profile_image = $imageName;
                  $update_user_data['image'] = $profile_image;
              }
  </code></pre>
  
  <p>Thanks much!</p>