How to run laravel in root directory without the public folder?

前端 未结 3 440
借酒劲吻你
借酒劲吻你 2021-01-26 12:34

I am running the latest version of laravel on my own server running Debian and Apache2.

The contents of larave

3条回答
  •  被撕碎了的回忆
    2021-01-26 12:49

    Sorry I deleted my old answer .. that was if u rename server.php to index then it will work but of course not because laarvel not load all service. so you have to paste into root all public folder file. and remove "../" from everywhere in index.php

提交回复
热议问题