页面不工作 - Laravel
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44083215/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Page isn't working - Laravel
提问by Arcubalino
Hi guys i just moved my laravel project from my windows server to my ubuntu server but when i try to load the app it says this page isn't working. I would like to ask your assistance with regards to this matter. Thanks
大家好,我刚刚将我的 Laravel 项目从我的 Windows 服务器移到了我的 ubuntu 服务器,但是当我尝试加载该应用程序时,它说此页面无法正常工作。我想请你帮忙解决这个问题。谢谢
回答by Fisherman
For me it was permission issue on storage directory
set the storage directory permission to 0755 recursively
对我来说,这是存储目录的权限问题,
递归地将存储目录权限设置为 0755
回答by MohamedSabil83
Try this steps:
试试这个步骤:
- open your terminal.
- move to your project folder.
- run
php artisan serve
. - open your browser and type
127.0.0.1:8000
orlocalhost:8000
.
- 打开你的终端。
- 移动到您的项目文件夹。
- 跑
php artisan serve
。 - 打开浏览器并输入
127.0.0.1:8000
或localhost:8000
。
回答by Vishnu
There might be a permission issue in your laravel project directory. Because Laravel maintain logs for every action. Make sure the files and directories inside your laravel project have a 777 or 775 permission.
您的 Laravel 项目目录中可能存在权限问题。因为 Laravel 维护每个动作的日志。确保 Laravel 项目中的文件和目录具有 777 或 775 权限。
回答by Shafeel Sha
open your terminal.
move to your project folder.
try this command 'php artisan serve --port=8080'
open with 127.0.0.1:8080or localhost:8080
打开你的终端。
移动到您的项目文件夹。
试试这个命令' php artisan serve --port=8080'
打开 127.0.0.1:8080或localhost:8080
回答by bafdurango
try this url:
试试这个网址:
http://localhost/warehouse/public/index.php/
if you need open the path /test
如果你需要打开路径 /test
http://localhost/warehouse/public/index.php/test