首页 编程后端开发正文

PHP中curl抓取报错分析

📅03-23 23:03 星期五 📄171 字
SSL certificate problem: self signed certificate in certificate chain

解决办法:设定为不验证证书和host

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);