title: Fatal error: require(): Failed opening required "required directory"
body: <p>I am uploading laravel project to cpanel ,I have set the path in <code>index.php</code>
  but it return the fatel error</p>
  <blockquote>
  <p>error</p>
  </blockquote>
  <pre><code>Fatal error: require(): Failed opening required '/home/customer/www/easy-websites.online/public_html/../quickquiz/vendor/autoload.php' (include_path='.:/usr/local/php73/pear') in /home/customer/www/easy-websites.online/public_html/index.php on line 24
  </code></pre>
  <p>I have not seperate directory for <code>quickapp</code> but it show in error
  I am uploading all my project files and folder in <code>public_html</code></p>
  <p><strong>index.php</strong></p>
  <pre><code>require __DIR__.'/vendor/autoload.php';
  $app = require_once __DIR__.'/bootstrap/app.php';
  </code></pre>
  <p><strong>.htacess</strong></p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Redirect Trailing Slashes If Not A Folder...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} (.+)/$
      RewriteRule ^ %1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  
      # Handle Authorization Header
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  &lt;/IfModule&gt;
  </code></pre>
  <p><strong>file structure</strong></p>
  <pre><code>publichtml{
  app
  bootstrap
  etc..
  index.php
  .htaccess
  vendor { autoload.php}
  }
  </code></pre>
  <p><code>index.php</code> and <code>.htaccess</code> under public_html and <code>autoload.php</code> under vendor folder</p>