Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Deploy Laravel 5 on shared cPanel hosting

I've been successful in deploying Laravel 4 applications on shared hosts by simply editing the paths here at /bootstrap/paths.php.

However, Laravel 5 does not have that file. How does Laravel 5 manage paths? I have access to the root directory with public_html. I can upload all the files to root and public directories, but confused where to look for the paths to be maintained?

like image 410
Dipendra Gurung Avatar asked Dec 28 '25 02:12

Dipendra Gurung


1 Answers

Laravel 5 is smart enough to detect all it's path. I was missing some of the files during upload. :)

What I did was upload all the files as it is structured and the content of public folder was uploaded into the www directory, that's it!

like image 103
Dipendra Gurung Avatar answered Dec 30 '25 23:12

Dipendra Gurung



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!