【发布时间】:2017-04-04 03:10:46
【问题描述】:
我在 Godaddy VPS 上安装了新的 Laravel 5.4。它返回 500 错误。我已经完成了符号链接ln -s myapp.com/public public_html,但它仍然返回 500 错误。我还将storage 和bootstrap/cache 的权限更改为777,但它仍然是一样的。这是我在同一个 VPS 中的第二个 Laravel 应用程序,第一个运行良好。它们位于 2 个不同的目录/帐户 home/usr1 和 home/usr2 中,所以我认为这不是冲突。或者是吗?我需要帮助。它已经消耗了我很多时间,只是为了寻找解决方案而从一个页面到另一个页面进行搜索,但我没有找到。
我刚刚发现有一个 cPanel 日志(我多么菜鸟),上面写着
[Tue Apr 04 05:58:29.616821 2017] [:error] [pid 31803] [client 112.210.57.133:53210] SoftException in Application.cpp:261: File "/home/networkmarketing/networkmarketingfortuneformula.com/public/index.php" is writeable by group
[Tue Apr 04 05:58:29.613420 2017] [:error] [pid 31803] [client 112.210.57.133:53210] SoftException in Application.cpp:261: File "/home/networkmarketing/networkmarketingfortuneformula.com/public/index.php" is writeable by group
【问题讨论】:
-
错误日志说明了什么?
-
并往上走。
-
@linktoahref 内部服务器错误 服务器遇到内部错误或配置错误,无法完成您的请求。请联系服务器管理员 webmaster@networkmarketingfortuneformula.com 并告知他们错误发生的时间,以及您所做的任何可能导致错误的事情。服务器错误日志中可能提供有关此错误的更多信息。此外,在尝试使用 ErrorDocument 处理请求时遇到 500 Internal Server Error 错误。
-
查看
storage/logs目录是否有错误日志 -
@linktoahref 它是空的
标签: php laravel laravel-5 vps laravel-5.4