title: From Laravel I got failed to open stream: Permission denied
body: <p>I use Laravel 5.4 and got the error at Web Server as below</p>
  
  <blockquote>
    <p>PHP Fatal error:  Uncaught ErrorException: file_put_contents(/github/myweb/monitor/storage/framework/views/b38c71581503e85762ce2fe49a8bis726b1164d9.php): failed to open stream: Permission denied n /github/myweb/monitor/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122\nStack trace:\n#0 [internal function]:</p>
  </blockquote>
  
  <p>When I tested on local every thing is fine, but after pushing code to server, i am getting error for path <code>'/github/myweb/'</code> where it's from. I want path like this </p>
  
  <p><code>/var/www/master/monitor</code></p>
  
  <p>How to remove prefix <code>'/github/myweb/'</code> from path I don't know where it's from </p>
  
  <p>What Is wrong?</p>