0

I'm new to laravel, and learning it with online tutorials, in many cases they use laravel homestead. I want to know if it is compatible with cpanel for deploying an app or it will cause a lot of trouble in deployment?

B nM
  • 369
  • 1
  • 5
  • 17
  • You can deploy a Laravel application to a cPanel server, yes. Some configuration will likely be required, and cPanel *sucks* and should never be used, but it's *doable*. – ceejayoz Sep 21 '17 at 20:35
  • No problem at all. Maybe, later you need to remove public from your url. There is a solution for that https://stackoverflow.com/questions/28364496/laravel-5-remove-public-from-url/46302555#46302555 – Morteza Rajabi Sep 21 '17 at 20:44
  • thanks. my hosting provider doesn't have ssh access and I use htaccess rewrite. so other than this there will be no problem? – B nM Sep 21 '17 at 21:05
  • I wouldn't use a hosting provider that doesn't have SSH access. That's unacceptable in this day and age. Get a better host. – ceejayoz Sep 21 '17 at 21:06

1 Answers1

1

in some Cpanel SSH Access is limited, this is a Huge problem in Laravel, no artisan, no composer. The FTP Access allows you to Upload the files, but re-mapping of public url is not available using a Virtual Host, so you need extract the public folder.

Hectorda
  • 111
  • 3
  • thanks. my hosting provider doesn't have ssh access and I use htaccess rewrite. so other than this there will be no problem? – B nM Sep 21 '17 at 21:03
  • Make sure that the permissions of the storage folder are correct, but that I doubt that there are more complex problems. regards – Hectorda Sep 22 '17 at 12:09