How to deploy laravel 4.2 on shared hosting?

后端 未结 5 1423
遇见更好的自我
遇见更好的自我 2020-12-09 06:00

I developed an application with laravel 4.2.8 and now I am having trouble deploying it. I followed this answer https://stackoverflow.com/a/16683938/3153380 but its not worki

5条回答
  •  自闭症患者
    2020-12-09 06:42

    I did something similar to @Helder Lucas - I also had to edit the bootstrap/paths.php file:

    # change: 'public' => __DIR__.'/../public',
    'public' => __DIR__.'/../../public_html',
    

    I created a script to setup laravel projects for shared hosting environments. Here is the gist: https://gist.github.com/meganlkm/74dba6c4350ed58bf7bb

提交回复
热议问题