流明开箱即用 [英] Lumen not working out of the box

查看:148
本文介绍了流明开箱即用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需安装Lumen框架. 在我的浏览器中点击链接 http://localhost/lumen/public/并得到以下错误,任何人都可以有什么想法吗? 将其追溯到引导文件夹中的app.php文件.

Just installed Lumen framework. hit the link http://localhost/lumen/public/ in my browser and got this following error, anyone got any idea about it? Traced it back to the app.php file in bootstrap folder.

推荐答案

在根文件夹中打开您的终端,运行以下命令php artisan serve.

Open your terminal in the root folder run the following command php artisan serve.

Lumen开发服务器在 http://localhost:8000/

Lumen development server started on http://localhost:8000/

这篇关于流明开箱即用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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