Did you Google for it?
It's recommended to use a VPS or any other kind of server where you have ssh access. Shared hosting doesn't offer this!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How Upload ready laravel 5 project on shared hosting server ?
Did you Google for it?
It's recommended to use a VPS or any other kind of server where you have ssh access. Shared hosting doesn't offer this!
@bobbybouwmann , :( its very important , how upload it on shared hosting server. Any Solution ?
Check the links on this post https://laracasts.com/discuss/channels/laravel/env-file
It is adviced to use a VPS, but if you really really need to do it, just copy your whole folder including vendor, and point your domain to the public folder, thats it.
but i really do not recommend this way.
It's quite easy really, i don't have a vps either and although i might not be able to use artisan commands through ssh, heres how i do it.
All done, site should be running!
Hard code the config, dotenv is not meant for production.
@Qlic I finally had a chance to try your instructions above. They work great, even in wamp. How come prior to this it seems everyone needed a rocket science degree to solve this. That is the best set of instructions I have seen on this, good job. Also @TaylorOtwell should have these in the docs, because everyone doesn't use forge. And from what I tested, it makes a secure setup.
Just be sure other then the public folder, you ensure file permissions are locked down is all.
Shared hosted isn't recommended due to hosting limitations you generally don't have with cloud or vps is all. Unlimited until....... Back in the day i'ld get quota emails all the time plus with do starting at $5 month, even though $10 box is recommended arguably in the USA same price as most shared hosting.
I really wish this was told in the beginning of downloading the project of website. Not every company I work with does VPS
I had hoped Jeffrey would do a video on installing to a average shared host like hostgator, or godaddy, that would help quite a few people. I have a site on godaddy with ver 5.1 and the above @Qlic answer worked great.
Another article http://novate.co.uk/deploy-laravel-5-on-shared-hosting-from-heart-internet/
Please or to participate in this conversation.