If there is no. Env in the root directory of the file
1. Change the name of. Env.example and use the command copy to. Env
2
php artisan key:generate Get the password and save it to. Env automatically
3. Copy the password to config/APP
Key in PHP
4. Rerun, OK
In case of. Env, proceed to the second step directly
Neither. Please re-install laravel
Similar Posts:
- Laravel [1045] Solution Access denied for user’homestead’@’localhost’
- [Solved] Lavarel execution: PHP artisan migrate reports an error
- When laravel is uploaded to the server, whoops, looks like something went wrong appears
- Laravel project login error: the MAC is invalid
- laravel The Mix manifest does not exist.
- How to Solve network error: software caused connection abort (Step-by-step Tutorial)
- Laravel 5.1 mail sending error swift_ TransportException
- Redis service failed to start, prompt: redis server: command not found
- laravel : SQLSTATE[HY000] [2002] Connection refused
- How to Solve Warning: Permanently added ‘ 192.168.1.230′(RSA) to the list of known hosts.