title: Laravel shared hosting, index.php not pointing to root but staying at public_htmls
body: <p>I have been working on deploying my Laravel app on a shared hosting using cpanel. However, I an getting this error: </p>
  
  <pre><code>[08-Sep-2018 07:38:43 UTC] PHP Fatal error:  require(): Failed opening required '/home/daankraa/public_html/../../supersax/vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php71/root/usr/share/pear') in /home/daankraa/public_html/index.php on line 24
  </code></pre>
  
  <p>From what I can see here is that it doesn't want to switch to the root directory, but keeps looking for:</p>
  
  <pre><code>/home/daankraa/public_html/../../supersax/vendor/autoload.php in public_html.
  </code></pre>
  
  <p>I have tried the dots to move up a directory, but it doesn't want to. How can I fix this?</p>
  
  <p>Thanks in advance!</p>
  
  <p>Daan</p>