The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. laravel 5.3

后端 未结 14 1635
一个人的身影
一个人的身影 2020-12-01 01:09

I installed a new fresh copy of Laravel 5.3 using composer but I\'m getting this error:

The only supported ciphers are AES-128-CBC and AES-256-CBC wit

14条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 01:51

    Follow These Steps:

    Step 1: Make sure you have .env file in your application.If not run this command cp .env.example .env

    Step 2: Now run following command ( php artisan key:generate ) to generate a key and it will get saved in .env file automatically.

    Step 3: Run php artisan config:cache if you want to cache the configurtration Or php artisan config:clear

    Hopefully it will fix everything.

提交回复
热议问题