5 months ago

Deploying Laravel Access Denied

Posted 5 months ago by Randy_Johnson

I am using a shared hosting site, after switching because of poor service I have found a great company to host my site. After taking great advice from fellow laracasts and reading other articles on the matter I have come to the decision that the best course of action is to have

domain > public_html | website_files

public_html > (all public files including the all important 'index.php')

I go into the index.php and change the file path and I am given a cannot access error. I am at the point where I have tried everything and there is no clear instructions.

require __DIR__.'/../../website/vendor/autoload.php';
$app = require_once __DIR__.'/../../website/bootstrap/app.php';

Please sign in or create an account to participate in this conversation.