I am install \"Laravel Framework version 5.2.26\" but i am getting error for key generate in my ubuntu os
user@CN43:/var/www/html/laravel_1$ php artisan key:
Run this command and make .env file from .env.example file:
cp .env.example .env
php artisan key:generate
Now it's generate the key. Don't create new .env file.
Rename .env.example
to .env
and fill all properties.
If you install Laravel via Composer, this file will automatically be renamed to .env. Otherwise, you should rename the file manually
https://laravel.com/docs/5.0/configuration#environment-configuration