安装后出现505错误 一、生成.env文件 windows环境:dos输入命令: type .env.example > .env linux环境:cp命令复制文件 二、Dos命令获取密码:php artisan key:generate