简体   繁体   English

如何打开Laravel项目

[英]How to Open Laravel project

I have created(installed composer create-project laravel/laravel basicwebsite ) project named basicwebsite. 我创建了一个名为basicwebsite composer create-project laravel/laravel basicwebsite (已安装composer create-project laravel/laravel basicwebsite )。 After that i run php artisan serve then it showed some URL then i got LARAVEL page in browser,fine. 之后,我运行php artisan serve然后显示一些URL,然后在浏览器中显示LARAVEL页面,很好。 (Accidentally, my system is shut down.) To reopen the project ,in cmd prompt i just did as (偶然地,我的系统已关闭。)要重新打开该项目,请在cmd提示符下执行

php artisan serve and the error occur is php artisan serve ,发生错误是

在此处输入图片说明

I almost searched for solution in all websites(including stack) .All started with create project but not what to do after close and opened the project. 我几乎在所有网站(包括堆栈)中搜索解决方案。所有网站都从创建项目开始,但是没有关闭并打开项目后的操作。

Thanks in advance. 提前致谢。

Use php artisan config:clear command to clear cache. 使用php artisan config:clear命令清除缓存。 You should see 你应该看到

Configuration cache cleared 配置缓存已清除

Use php artisan serve command to start the server. 使用php artisan serve命令启动服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM