If you use the laravel installer, you have to create the .env file manually.
FYI, this is different to the previous versions of the Laravel installer. I assume that this will be fixed later on, but for now I simply do the following:
cp .env.example .env
and then simple re-run:
php artisan key:generate
时间: 2024-12-31 20:00:39