The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. laravel 5.3
问题 I installed a new fresh copy of laravel 5.3 using composer but I keep getting this error: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. Even though my app.php file in config directory specify 'cipher' => 'AES-128-CBC', 回答1: You need to have .env on your appication folder then run: $ php artisan key:generate If you don't have .env copy from .env.example : $ cp .env.example .env 回答2: Run this commands on your terminal: php artisan config:clear then php