初始化一个Laravel项目,在浏览器访问时提示:
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
解决办法:
在PHPStorm中运行php artisan key:generate
就可以了
php artisan key:generate
Application key [base64:DWC4BjwNBAM12VuaTWSKx00VQI9trY/8fled08vrM7A=] set successfully.