Reputation: 51
I'm running Laravel on my localhost, however when I follow the http address I get a 500 server error. [![enter image description here][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.sstatic.net/fHpW4.png
[2]: https://i.sstatic.net/egiDL.png
[3]: https://i.sstatic.net/P4w5Z.png
[4]: https://i.sstatic.net/Rgtm9.png
Upvotes: 1
Views: 1499
Reputation: 51
I fixed it... I just needed to create a new .env file in my platform copy everything that was in my .env.example run php artisan key: generate then php artisan serve
Then....VOILA problem resolue (problem solved!)
Upvotes: 2