cURL错误60:尝试使用symfony时的ssl认证问题 [英] cURL error 60: ssl certification issue when attempting to use symfony
问题描述
当尝试使用新的命令 C:> ; php symfony新博客
我收到错误消息 [GuzzleHttp\Ring\Exception\RingException] cURL错误60:SSL证书问题:无法获取本地颁发者证书
。
在这种情况下,我无法做到这一点,因为我对CMD界面的经验不够丰富。
我需要知道这是否是Windows或symfony本身的错误,以及我可以采取的任何可能的路由修复它。
按照此链接,复制整个页面并保存在a: cacert.pem
然后在你的 php.ini
文件插入或编辑以下行:curl.cainfo =[pathtothisfile] \cacert.pem
或
使用作曲家替代S ymfony安装程序
I have recently gotten a new windows computer and have installed the php symfony framework.
When attempting to use the new command C:> php symfony new blog
I receive the error message [GuzzleHttp\Ring\Exception\RingException] cURL error 60: SSL certificate problem: unable to get local issuer certificate
.
I am clueless on what to do in this instance as I am not too experienced with the CMD interface.
I need to know if this is an error with windows or with symfony itself and any possible routes I could take in fixing it.
Follow this link, Copy the entire page and save it in a: "cacert.pem
"
Then in your php.ini
file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem"
Or
use composer instead Symfony installer
这篇关于cURL错误60:尝试使用symfony时的ssl认证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!