windows部署环境(laravel项目)

1.下载xampp

2.安装composer:

http://pkg.phpcomposer.com/

http://blog.csdn.net/wxqee/article/details/44983931

file could not be downloaded: SSL  operation failed with code 1. OpenSSL Error messages:  error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify  failed  Failed to enable crypto  failed to open stream: operation failed

报这个错参考这个网站:https://m.oschina.net/blog/346727

couldn't resolve host 'github.com' 出现这个问题表示网络不稳定,多试几次

No supported encrypter found. The cipher and / or key length are invalid 这个错表示config/app.php文件的key不能使用.env里面的值

3.安装git

4.设置各种环境变量:php,mysql,composer,git

5.有时候项目不能解析.env文件里面的配置,有时间研究下这个问题

原文地址:https://www.cnblogs.com/Aaronqcd/p/5309327.html