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

igniter786's avatar

laravel 5.5 on cpanel shared hosting, still stucked with 500 error, Now it is the time to 100% solution

Hello, I am here at laracast with some really annoying questions. First I just want to deploy Laravel 5.5 on cpanel shared hosting with no ssh. now when i googled my question there was nothing except incomplete answers. ........ this it is very tedious thing to do.

from public_html directory's index.php file setup. i have tried many things but all in vain.

now there is some need for the editing some laravel framework coding...

whatever it is, I am going to follow this post till i get the 100% answer SOLVED for everyone out there....

0 likes
5 replies
RamjithAp's avatar

Cpanel without SSH follow this.

  1. Make sure you enabled all the PHP extensions in your cpanel which laravel required to run - https://laravel.com/docs/5.5/installation#server-requirements

  2. Download the latest version files from https://github.com/laravel/laravel

  3. Upload to server and give correct permissions for storage and bootstrap folders as mentioned in the laravel website

  4. Rename .env file and put some dummy app key which is must

  5. Create database and setup info in .env

  6. Manually create migration tables

However you need SSH access to laravel development because you always need to clear cache and use composers for packages and many functionalities are depends on SSH. So SSH is must for laravel development. Contact your shared hosting provider and buy SSH package for your account it cost around 5 to 10 USD year maximum.

igniter786's avatar

Thanks for both the replies. But how can i set permissions for storage and bootstrap folders when I don't have any ssh available. Do I contact web hosting company ?

vivekdhumal's avatar

@igniter786 do you have filemanager app at the cpanel then use it, if right click on folder it will show you to change permission in context menu.

and its good to use SSH but not necessarily, you can clear cache and upload new packages manually using FTP

martinbean's avatar

i googled my question there was nothing except incomplete answers.

@igniter786 That’s because an infinite number of things can lead to a 500 error. A 500 error isn’t one specific problem, that’s why there isn’t one “100% solution”.

Instead, look in your error log and find out why your application is throwing a 500 error, and then fix that issue.

Please or to participate in this conversation.