Question:
When attempting to utilize PHP's Mandrill API, you encounter an SSL-related error: "Unable to get local issuer certificate." Despite implementing suggested solutions like adding curl.cainfo to php.ini, the issue persists.
Answer:
To resolve this error, follow these detailed instructions:
curl.cainfo="C:/wamp/cacert.pem" openssl.cafile="C:/wamp/cacert.pem"
By following these steps, you can effectively resolve SSL certificate errors and ensure uninterrupted operation of PHP curl-based applications.
The above is the detailed content of How to Fix 'Unable to get local issuer certificate' Errors in PHP Curl?. For more information, please follow other related articles on the PHP Chinese website!