Laravel L06 搭建环境的 执行 Composer install 报错
安装好教程中的开发环境
在2.2章节中:执行:composer install时候
Failed to download dasprid/enum from dist: The "https://api.github.com/repos/DASPRiD/Enum/zipball/631ef6e638e9494b0310837fa531bedd908fc22b" file could not be downloaded: SSL: Connection reset by peer
Failed to enable crypto
failed to open stream: operation failed
出现以上失败提示,是怎么回事呢?
关于 LearnKu
应该是网速不行,挂个梯-子试试,要不然就换阿里源试试
网上冲浪了一下,找到了相关的解决方法:从http://curl.haxx.se/ca/cacert.pem 上下载 一个cacert.pem 的文件,然后修改 php.ini文件,打开 openssl.cafile= 注释,将值设置为 刚刚文件下载的路径 比如:/etc/cacert.pem. 然后就跑起来来了,具体啥原因我叶只能猜测,请大神来解释一下吧