Update WAMP/Apache to use new cacert.pem

◇◆丶佛笑我妖孽 提交于 2019-11-30 21:29:40

If you're running at least php 5.3.7, you can put this in the ini at the end of your php.ini file:

curl.cainfo=c:\path\to\cacert.pem

You'll need to find the specific php.ini file for the version of php one you've selected to use.

A comment in the doc's show this: http://php.net/manual/en/function.curl-setopt.php

Here's the doc with the specific setting: http://php.net/manual/en/curl.configuration.php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!