安装教程来自

http://laravelacademy.org/post/6547.html

 

1.系统环境windows 10 nodejs3.9.2 composer1.2.4(国内镜像) Cmder(ConEmu 161206)

2.打开终端输入 

composer create-project web-feet/coastercms project1

安装到当前目录下的project1文件夹中


3.安装最后出现 

cURL error 77: error setting certificate verify locations:
CAfile: c:/Applications/XAMPP/xamppfiles/cacert.pem
CApath: none

4.参考

http://stackoverflow.com/questions/30240840/laravel-5-socialite-curl-error-77-error-setting-certificate-verify-locations

https://curl.haxx.se/ca/cacert.pem保存到本地为cacert.pem.txt

打开php.ini

找到curl.cainfo取消注释,并设置cacert.pem.txt的路径

curl.cainfo = "C:\xampp\php\cacert.pem.txt"

并且注释掉下面的openssl.cafile

然后就ok了

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-08-12
  • 2021-11-14
  • 2021-10-23
  • 2022-02-05
  • 2021-08-09
猜你喜欢
  • 2022-12-23
  • 2022-02-06
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2021-10-21
相关资源
相似解决方案