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

前端 未结 16 2719
时光取名叫无心
时光取名叫无心 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 07:55

    for guzzle you can try this :

    $client = new Client(env('API_HOST'));
    $client->setSslVerification(false);
    

    tested on guzzle/guzzle 3.*

提交回复
热议问题