linux環境正常,windows環境報錯
解決方案
If you want, you can install local ssl certificate. See below steps.
- Open http://curl.haxx.se/ca/cacert.pem
- Copy the entire page and save it as a "cacert.pem"
- Open your php.ini file and insert or update the following line: curl.cainfo = "[pathtofile]\cacert.pem"
可以解決