4
I created a new project in Laravel with the command laravel new server
. I updated the Poser, inside the same, with composer update
.
However, when accessing the http://localhost:8000/
, it returns me the following error:
500 | Server Error
I am using windows. Someone knows how to solve?
See which error is giving, in the file Laravel.log, is inside Storage/logs, there put here that I try to help you! ;)
– arllondias
Man, it returns me a content of 67 lines. The first one tells me this: Production.ERROR: No application Encryption key has been specified.
– Luiz Roberto Furtuna
Rotate the remote
php artisan key:generate
to generate the key– JrD
Now this: "Errorexception : file_get_contents(C: Users Free Documents Luiz larang server.env): failed to open stream: No such file or directory". I checked inside the site, the . env does not exist at all, only the .env.example example
– Luiz Roberto Furtuna
The archive
C:\Users\Free\Documents\luiz\larang\server\.env
does not exist. I advise you to read the Framework installation documentation, otherwise the comments will become chat...– fernandosavio