我曾尝试使用应用程序的单个帐户在 CentOS Web 面板(CWP)中托管 laravel 5.1 应用程序。我不想在单个帐户中托管多个站点。我已经设置了我的网站
/home/myaccount/project/website/
我的结构是
|-home
|-myaccount
|-project
|-website
--all laravel 5.1 directories
|-public_html
我尝试过使用这些解决方案:
https ://laracasts.com/discuss/channels/general-discussion/where-do-you-set-public-directory-laravel-5
https://laracasts.com/discuss/channels/服务器/laravel-51-on-shared-hosting-not-working?page=3
但我仍然收到此 500 错误
我能得到任何解决这个问题的方法吗?我已经配置了大部分部件,但我仍然认为缺少一些配置。我有 Laravel 5.1 支持的所有要求。
编辑:查看位于的error_log:
/usr/local/apache/logs/error_log
并发现错误为
SoftException in Application.cpp:256: File ".. /public_html/index.php" is writeable by group.