I am using laravel 5 i have tried possible solution on similar question on stack but that didn't helped me . Below are my updated files that i edited
My .env file is updated with appkey see here
generated appkey with php artisan command key generate and put that in . env
APP_ENV=local
APP_DEBUG=true
APP_KEY=[9vkErFVjzUX3ozuOcD7T7KTHNKP2FBNB]
DB_HOST=localhost
DB_DATABASE=blogdb
DB_USERNAME=rootDB_PASSWORD=
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
Also Updated app.php file cipher and appkey manually
'key' => env('APP_KEY', '[9vkErFVjzUX3ozuOcD7T7KTHNKP2FBNB]'),
'cipher' => 'AES-256-CBC',
Don't know why it is generating 34 bit app key using php artisan command
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2bGf2YL
via IFTTT
Aucun commentaire:
Enregistrer un commentaire