title: failed to open stream: Permission denied in /opt/lampp/htdocs/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:81
body: <p>I'm working on a legacy PHP project I cannot start the project I got the error,</p>
  <blockquote>
  <p>failed to open stream: Permission denied in
  /opt/lampp/htdocs/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:81</p>
  </blockquote>
  <p>It is running on XAMPP on Ubuntu server.</p>
  <p>I've have been try a lot of commands (below) but nothing works.</p>
  <ol>
  <li>sudo chmod -R 777 storage</li>
  <li>sudo chmod -R 775 storage</li>
  <li>php artisan view:clear</li>
  <li>php artisan config:clear</li>
  <li>php artisan config:cache</li>
  <li>php artisan key:generate</li>
  <li>composer dump-autoload</li>
  <li>sudo chown -R daemon /opt/lampp/htdocs</li>
  <li>sudo chmod -R 775 bootstrap/cache</li>
  </ol>
  <p>Please help.</p>