更新时间:2022-05-08 05:17:19
与"SSL证书问题:无法获取本地颁发者证书"错误有关.重要的是要注意,这适用于发送CURL请求的系统,而不适用于接收请求的服务器.
Relating to 'SSL certificate problem: unable to get local issuer certificate' error. It is important to note that this applies to the system sending the CURL request, and NOT the server receiving the request.
将以下行添加到php.ini中:(如果这是共享托管,并且您无权访问php.ini,则可以将其添加到public_html中的.user.ini中.)
Add the following line to php.ini: (if this is shared hosting and you don't have access to php.ini then you could add this to .user.ini in public_html).
curl.cainfo="/path/to/downloaded/cacert.pem"
确保将路径用双引号引起来!!!
默认情况下,FastCGI进程将每300秒解析一次新文件(如果需要,您可以按照此处的建议通过添加几个文件来更改频率
By default, the FastCGI process will parse new files every 300 seconds (if required you can change the frequency by adding a couple of files as suggested here https://ss88.uk/blog/fast-cgi-and-user-ini-files-the-new-htaccess/).