Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

pedroroccon's avatar

Install Laravel 5 in subfolder (Host)

Hello everybody! First of all, thanks for the interest on my topic.

I would like to know if there is a way to install the Laravel 5 in subfolders on my host. For example, i have my website www.sample.com, and i want to install the Laravel 5 in www.sample.com/laravel. Someone told me that we can create subdomains and install Laravel 5 on it, but i've tried in my hosting without success. The host creates a subfolder with the name of my subdomain, but i still have to put the Laravel 5 files in the hosting root directory.

Anyone knows how to do the installation in a subfolder hosting?

Thanks a lot! Have a nice day!

0 likes
2 replies
khaledSMQ's avatar
Level 6

Hi i did try it before it's working without problems , i think you have to change bootstrap autoload path check the link.

URL( https://goo.gl/Wb2pz4 ) , fix the link sorry for mistake

2 likes

Please or to participate in this conversation.