title: Error of failed to open stream: Permission denied in laravel using dropzone
body: <p>I am integrate dropzone into laravel 5.4. When i trying to upload the file. Only if the file size are less than 2mb can successfully uploaded. Other than that would be getting error of <code>failed to open stream: Permission denied</code> or <code>PostTooLargeException</code>. </p>
  
  <p>The localhost i am using is wamp. The post_max_size + upload_max_filesize are changed to 256mb and restarted many time. But still same problems. </p>
  
  <p>This is the code i move the file </p>
  
  <pre><code>Storage::disk('local')-&gt;putFileAs(
          'files/'. $file-&gt;slug,
          $uploadedFile,
          $upload-&gt;filename
      );
  </code></pre>
  
  <p>UPDATED: Seem like the problems is caused by localhost configuration. But i changed WAMP setting and restarted the value still did't change.</p>
  
  <p><a href="https://i.stack.imgur.com/yePxd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yePxd.png" alt="enter image description here"></a></p>