I've use this and have had no problems: http://novate.co.uk/deploy-laravel-5-on-shared-hosting-from-heart-internet/
Main laravel goes outside of Webroot.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello. Anyone can tell me the way to install my Laravel aplication in an apache shared hosting?
I upload the files by FTP and create the DB directly (without migrations). I don't have access to git or the shell ... then I don't see any other way to do that. Correct?
The laravel aplication must be installed in the site root (Laravel restriction). But I need to install many aplications in my site, so I create subdomines (like app1.dominio.com) ... Is that right?
I need to upload all the files or there are any that I can skip?
I don't wanna access to the site using the "public" path (like app1.dominio.com/public), so I put the content of the "public" folder in dominio.com/app1 and I copy the rest of the files to other folder outside app1.
With the .htaccess included with the laravel installation in the public folder (now in app1 folder) I have no troubles.
Also, I need to change the routes in index.php file:
require ... /vendor/autoload.php require ... /bootstrap/app.php
Anyone have other way?
Thanks
Please or to participate in this conversation.