1.本地使用aws的图片上传SDK遇到问题:
[2019-02-01 07:26:26] production.ERROR: Error executing "PutObject"on "https://xxxxx.s3.us-west-2.amazonaws.com/origin/product/003934000000/5c53f49fb7ff1.jpg";AWS HTTP error: cURL error 60: SSL certificate problem:unable to get local issuer certificate(see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
解决方法(原链接):
download the certifate from http://curl.haxx.se/ca/cacert.pem and define it in php.ini as following:
curl.cainfo = "C:\AppServ\cacert.pem"