title: The file exceeds your upload_max_filesize ini directive (limit is 2048 KiB) in Laravel
body: <p>I'm getting the above error in my development environment when i try to upload an image. I have followed other answers here by doing the following</p>
  
  <ul>
  <li>Setting the upload_max_filesize and post_max_size</li>
  <li>Restart wamp server</li>
  <li>Shutdown system and restarted the system</li>
  </ul>
  
  <p>but i still can't get past the error. Am I doing anything wrong? Below is the relevant section from my php.ini file</p>
  
  <pre><code>; Maximum allowed size for uploaded files.
  ; http://php.net/upload-max-filesize
  upload_max_filesize = 100M
  
  ; Maximum number of files that can be uploaded via a single request
  max_file_uploads = 20
  
  ; Maximum size of POST data that PHP will accept.
  ; Its value may be 0 to disable the limit. It is ignored if POST data reading
  ; is disabled through enable_post_data_reading.
  ; http://php.net/post-max-size
  post_max_size = 125M
  </code></pre>