laraveldeployingpublic-html

How do I deploy two Laravel 7 project into shared hosting at hostGator?


I tried many strategies to deploy two Laravel apps in shared hosting. What I have done so far is

Final result:

enter image description here


Solution

  • Thanks for the viewers.

    I found the solution. The PHP version of my server is 7.1 max but my Laravel 7.2 need at least PHP 7.2 version. So what I did was downgrade the Laravel app into version 5.8, and everything works fine.

    Thanks.