gpt4 book ai didi

php - uwamp drupal 8 安装新模块失败

转载 作者:太空宇宙 更新时间:2023-11-03 14:45:45 25 4
gpt4 key购买 nike

我得到了

Failed to fetch file due to error "cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

当我尝试在 Drupal 8.1.8 中安装模块时出现错误消息

我找到了 https://www.drupal.org/node/2654474#comment-11232057这似乎表明这是我的堆栈 UwAMP 的问题。我没有遵循该帖子中的程序,因为它表明它没有解决问题。

谁能告诉我如何解决这个问题?

最佳答案

https://www.drupal.org/node/2654474#comment-11553625 找到了解决方案

在我的例子中,我必须将“certs”文件夹添加到 C:\UwAmp\bin\apache\conf\,然后将 cacert.pem 下载到该 certs 文件夹。我还必须使用 UwAmp GUI 将“curl.cainfo = C:\UwAmp\bin\apache\conf\certs\cacert.pem”添加到我的 php.ini 文件中。

为了我们这些新手的利益,请解释这里发生的事情以及解决方案解决问题的原因。还请解释为什么 Drupal 8 没有某种修复来防止此问题的发生。

谢谢!

关于php - uwamp drupal 8 安装新模块失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39149049/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com