PHP - SSL certificate error: unable to get local issuer certificate

前端 未结 16 2729
时光取名叫无心
时光取名叫无心 2020-11-21 07:49

I\'m running PHP Version 5.6.3 as part of XAMPP on Windows 7.

When I try to use the Mandrill API, I\'m getting the following error:

Uncaught e

16条回答
  •  盖世英雄少女心
    2020-11-21 08:19

    I found new Solution without any required certification to call curl only add two line code.

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    

提交回复
热议问题