Linked Questions

Popular Questions

How to deploy laravel project in a shared web hosting?

Asked by At

screenshot inside cpanel

I have uploaded all the laravel files in my cpanel account including the database. Created new directory called projecthouse and dumped everything in there except for the 'public' folder which is in public _html. Still my website is not running. I also changed 2 lines in the index.php file as follows

require __DIR__.'/../projecthouse/vendor/autoload.php';

$app = require_once __DIR__.'/../projecthouse/bootstrap/app.php';

I also tried changing the path in the server.php but still the website is blank or saying The page isn't working in google chrome. What am I missing. I would really really appreciate any help at this point.

Related Questions