我尝试在CentOS Web (CWP)中托管一个Laravel5.1应用程序,使用的是该应用程序的一个帐户。我不想在单一帐户中托管多个站点。我已经在
/home/myaccount/project/website/我的结构是
|-home
|-myaccount
|-project
|-website
--all laravel 5.1 directories
|-public_html我尝试过使用以下解决方案:
https://laracasts.com/discuss/channels/servers/laravel-51-on-shared-hosting-not-working?page=3
但是我仍然得到了这个500错误

我能找到解决这个问题的办法吗。我已经配置了大部分部件,但我仍然认为有一些缺少的配置。我对Laravel5.1的所有要求都支持。
编辑:查看位于:
/usr/local/apache/logs/error_log并发现错误为
SoftException in Application.cpp:256: File ".. /public_html/index.php" is writeable by group.发布于 2016-02-22 04:08:38
我自己解决了这个问题,检查了位于
/usr/local/apache/logs/error_log解决方案:
~/.bash_profileumask 022添加到bash_profilechmod -R 755 {file_path}维奥拉问题解决了。
https://stackoverflow.com/questions/34774210
复制相似问题