cURL error 60: SSL certificate problem: unable to get local issuer certificate 解决思路
生活随笔
收集整理的這篇文章主要介紹了
cURL error 60: SSL certificate problem: unable to get local issuer certificate 解决思路
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
php5.6以上的版本會出現(xiàn)這種問題
解決辦法:
訪問https://curl.haxx.se/docs/caextract.html,下載cacert.pem,并在php.ini文件添加
curl.cainfo="D:/wamp/bin/php/php7.0.10/extras/ssl/cacert.pem"
openssl.cafile="D:/wamp/bin/php/php7.0.10/extras/ssl/cacert.pem"
總結(jié)
以上是生活随笔為你收集整理的cURL error 60: SSL certificate problem: unable to get local issuer certificate 解决思路的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 享清福招募合伙人的宗旨是什么?
- 下一篇: 日用火柴在我国的发展趋势?