Apache server curl setting

Apache server curl setting 

For wamp and xamp



1. Download the certificate bundle. And save to location.
-https://curl.haxx.se/docs/caextract.html
-https://curl.haxx.se/ca/cacert.pem

2. Enable mod_ssl in Apache and php_openssl.dll in php.ini (uncomment them by removing ; at the beginning).
3. Add these lines to your cert in both php.ini files:
curl.cainfo="C:/wamp/cacert.pem"
openssl.cafile="C:/wamp/cacert.pem"
Restart Wamp/xamp services.

Share this

Related Posts

Previous
Next Post »