You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am getting this fatal error even if I updated my curl and dlownlaoded the latest cacert.pem file and set the php.ini. I am using php-8.2.7
openssl.cafile= "C:/php-8.2.7/cacert.pem"
curl.cainfo = "C:/php-8.2.7/cacert.pem"
C:\Users\cervenka\mapycz-api\examples>php loadPoi.php
PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate file: C:/php-8.2.7/cacert.pem (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://pro.mapy.cz/poiagg in C:\Users\cervenka\mapycz-api\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:211
Stack trace:
The text was updated successfully, but these errors were encountered:
Hello @adamekcerv,
it seems that you have PHP configured properly, but PEM file is not accessible in that location. Check if file C:/php-8.2.7/cacert.pem really exists and it is readable, eg via command dir C:\wamp64\cacert.pem.
Hi,
I am getting this fatal error even if I updated my curl and dlownlaoded the latest cacert.pem file and set the php.ini. I am using php-8.2.7
openssl.cafile= "C:/php-8.2.7/cacert.pem"
curl.cainfo = "C:/php-8.2.7/cacert.pem"
C:\Users\cervenka\mapycz-api\examples>php loadPoi.php
PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate file: C:/php-8.2.7/cacert.pem (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://pro.mapy.cz/poiagg in C:\Users\cervenka\mapycz-api\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:211
Stack trace:
The text was updated successfully, but these errors were encountered: