報錯如下:
[TencentCloud\Common\Exception\TencentCloudSDKException]
code: message:cURL error 60: SSL certificate problem: unable to get local issuer certificate
1. 下載下傳cacert.pem到php安裝目錄
cd D:\phpstudy_pro64\Extensions\php\php7.4.3nts\extras\ssl
D:
安裝wget添加到環境變量,或者把wget.exe放到C:\windows
wget https://curl.haxx.se/ca/cacert.pem --no-check-certificate -O cacert.pem