.env" in the DOS of the Windows environment to generate the .env file; 2. Obtain the password through "php artisan key:generate"."/> .env" in the DOS of the Windows environment to generate the .env file; 2. Obtain the password through "php artisan key:generate".">
Home > Article > Backend Development > What to do with php laravel 505 error
Solution to php laravel 505 error: 1. Enter the command "type .env.example > .env" in the DOS of the windows environment to generate the .env file; 2. Pass "php artisan key:generate "Just get the password.
The operating environment of this tutorial: Windows 7 system, Laravel version 5.7, Dell G3 computer.
php laravel 505 error what to do?
505 error occurred during laravel installation
505 error occurred after installation
1. Generate .env file
Windows environment: dos input command: type .env.example > .env
Linux environment: cp command to copy files
2. Dos command to obtain the password: php artisan key:generate
Recommended learning:《 laravel video tutorial》
The above is the detailed content of What to do with php laravel 505 error. For more information, please follow other related articles on the PHP Chinese website!