我在本地主机上运行Laravel,但是当我遵循http地址时,出现500服务器错误。 [![在此处输入图片描述] [1]] [1]
C:\Users\insaloon\Gram>php artisan serve
Laravel development server started: <http://127.0.0.1:8000>
[Fri Jun 7 16:03:04 2019] 127.0.0.1:57415 [200]: /favicon.ico
[Fri Jun 7 16:03:09 2019] 127.0.0.1:57420 [200]: /favicon.ico
[Fri Jun 7 16:09:00 2019] 127.0.0.1:57505 [200]: /favicon.ico
[![this is exactly what am getting][2]][2]
```[![This is what am suppose to get][3]][2[![\]
][4]][4]I've done `composer install` and `composer update`.
[1]: https://i.stack.imgur.com/fHpW4.png
[2]: https://i.stack.imgur.com/egiDL.png
[3]: https://i.stack.imgur.com/P4w5Z.png
[4]: https://i.stack.imgur.com/Rgtm9.png
答案 0 :(得分:0)
我修好了... 我只需要在平台上创建一个新的.env文件,复制.env.example中的所有内容 运行php artisan键:生成 然后php artisan服务
然后...解决问题的方法(问题已解决!)