我正在使用确切的github示例https://gist.github.com/lovasoa/9547629在Google联系人中使用我的api凭据创建新的联系人条目。
然而,我收到一个错误:
致命错误:未捕获的异常' GuzzleHttp \ Exception \ RequestException'消息' cURL错误60:SSL证书问题:无法获得本地颁发者证书(请参阅http://curl.haxx.se/libcurl/c/libcurl-errors.html)'在C:\ Program Files \ EasyPHP-DevServer-14.1VC11 \ data \ localweb \ Landshoppe \ google-api-php-client-2.0.1 \ vendor \ guzzlehttp \ guzzle \ src \ Handler \ CurlFactory.php:187堆栈跟踪: #0 C:\ Program Files \ EasyPHP-DevServer-14.1VC11 \ data \ localweb \ Landshoppe \ google-api-php-client-2.0.1 \ vendor \ guzzlehttp \ guzzle \ src \ Handler \ CurlFactory.php(150): GuzzleHttp \ Handler \ CurlFactory :: createRejection(Object(GuzzleHttp \ Handler \ EasyHandle),Array)#1 C:\ Program Files \ EasyPHP-DevServer-14.1VC11 \ data \ localweb \ Landshoppe \ google-api-php-client-2.0 .1 \ vendor \ guzzlehttp \ guzzle \ src \ Handler \ CurlFactory.php(103):GuzzleHttp \ Handler \ CurlFactory :: finishError(Object(GuzzleHttp \ Handler \ CurlHandler),Object(GuzzleHttp \ Handler \ EasyHandle),Object(GuzzleHttp) \ Handler \ CurlFactory))#C:\ Program Files \ EasyPHP-DevServer-14.1VC11 \ data \ localweb \ Landshopp在C:\ Program Files \ EasyPHP-DevServer-14.1VC11 \ data \ localweb \ Landshoppe \ google-api-第187行的php-client-2.0.1 \ vendor \ guzzlehttp \ guzzle \ src \ Handler \ CurlFactory.php
如果有人可以快速解决问题,那就太棒了!