Support the ongoing development of Laravel.io →
Installation Configuration Session
Last updated 2 years ago.
0

Right I've fixed it for now. I changed the following in my app.php config file: 'key' => env('Tru8BtvxLe86Bf7IqHaVkKich1xQJYaY'), to 'key' => 'Tru8BtvxLe86Bf7IqHaVkKich1xQJYaY',

I then ran "php artisan config:cache"

I assume the env() pulls the value from the .evl file which was missing? So my next question being why wouldn't this be created initially?

0

in config/app.php I've changed

'key' => env('key_string_32_characters'),

to

'key' => env('APP_KEY', 'key_string_32_characters'),

then run:

php artisan config:clear php artisan config:cache

0

Sign in to participate in this thread!

Eventy

Your banner here too?

maplerock maplerock Joined 28 Jan 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.