When I run php artisan key:generate
it says
Application key [yiTC3tRuczqMVrbikesPOtxZc4AAluIE] set successfully.
but in my config/app.php
it shows
'key' => '',
I noticed the app.php does seem to get touched during the command, but nothing is changed. Is this normal? Is the key elsewhere now?
For me has been like this since ever. I just use the artisan command to generate it and later I copy by myself
I started a new project and the command works there. Strange. I guess it's just this particular installation, or something was updated.
If you are using latest laravel, check if key:generate
updates config in your env app/config/{env}/app.php
.
On your project, rename .env.example to .env then run key:generate
See on laravel doc http://laravel.com/docs/5.0/configuration#environment-configuration
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community