App.php - 文件
This is my App,php file
'key' => env('APP_KEY'),
'cipher' => 'AES-256-CBC',
.env - 文件
This is my .env file
APP_ENV=local
APP_KEY=base64:CETuLOZZZi5QEEYXhyCO/O7l7fhM6LI5clvsT59cgTM=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=ads
DB_USERNAME=root
DB_PASSWORD=null
PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
错误是:
> RuntimeException in Encrypter.php line 43: The only supported ciphers
> are AES-128-CBC and AES-256-CBC with the correct key lengths.
Developers please help me to solve this problems. Thanks
最佳答案
你只需输入cmd:
php artisan key:generate
关于php - 如何修复 - Encrypter.php 第 43 行中的 RuntimeException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40079761/