Clone the Repo in a not public folder, copy /public/ content in the public_www folder (or the name on the shared server) anche fix the path in index.php of the two "require" commands.
If the Shared Host use Symbolic link for public directory (es cPanel create a directory named public_www, anche a symbolic link www => public_www ) use SSH to login the server, change the link to the public folder of the laravel application.
I think that there are pros and cons on every point, but I would like some skilled opinions!!
Hosting on Shared Server Best Practice
Hi, I would like a couple of advices about hosting Laravel on a Shared Server.
I've seen there are some methods, but I would like to better understand which could be preferred.
The method I've found are:
I think that there are pros and cons on every point, but I would like some skilled opinions!!