laravel在bluehost上安装-尽管有多种安装方法,仍出现500错误 [英] laravel install on bluehost - 500 error despite multiple methods of install

查看:87
本文介绍了laravel在bluehost上安装-尽管有多种安装方法,仍出现500错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在这里尝试过这种方法:官方laravel新闻博客

So I have tried this method here: official laravel news blog

那没有用。根据我所做的进一步研究,我什至认为该方法并不完整。根据这项研究,除了更改尝试使用.htaccess的公共目录中的index.php文件,更新server.php以及将存储文件夹的文件权限更改为777(读和写)外,我还进行了其他操作

That didn't work. And I don't even think that method is complete based on further research I have done. Based on that research, I have also in addition to changing the index.php file in the public directory attempted to work with .htaccess, updated the server.php, and changed file permissions for the storage folder to 777 (read write and ex)

还是没有运气。 500个服务器错误。我可以通过ssh访问服务器,并且可以使用作曲家,并且它是最新的。我已经通过composer安装了laravel,通过ssh更改了文件许可,但是仍然没有运气。我已经手动将新的laravel安装文件上传到服务器,并尝试了所有这些方法,但运气不好。我将应用程序放在一起,并对其进行了分解,以便只有公用文件夹位于我的public_html中,并且所有内容都链接到该文件夹​​。我已经尝试了所有可以在互联网上找到的东西。

Still no luck. 500 server errors. I have ssh access to the server, and have composer working and up to date. I have installed laravel via composer, changed file permission via ssh, and still no luck there. I have manually uploaded a fresh laravel install to the server and tried all these methods, no luck there. I have kept the application all together, and also broken it up so only the public folder is in my public_html and everything links up past that. I have tried everything I could find on the internet.

所以现在我想知道这是否仅仅是一个bluehost问题。任何帮助或见识将不胜感激!在这一点上,我可以只考虑让应用程序运行就不必担心安全性了。我稍后会担心安全性。是的,它必须在bluehost上。 Laravel 5.4。 Composer版本1.4.0 Apache 2.2.31 PHP 5.4.43

So now I am wondering if it is simply a bluehost issue. Any help or insight would be appreciated! At this point I could care less about security I just want to get the app running. I can worry about security later. And yes, it has to be on bluehost. Laravel 5.4. Composer version 1.4.0 Apache 2.2.31 PHP 5.4.43

让我们开始:
文件结构是基本的laravel全新安装
存储文件夹设置为777
我们可以在这里工作吗?

Let's start with this: file structure is basic laravel fresh install storage folder set to 777 And we can work from here?

推荐答案

Laravel需要 5.4 PHP> = 5.6.4

Laravel 5.4 required PHP >= 5.6.4

这篇关于laravel在bluehost上安装-尽管有多种安装方法,仍出现500错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆