WAMP

WAMP and curl

Often times, after a fresh install of WAMP server, curl stops working. You might get a hint of the issue in logs/php_error.log If not, it could be that the SSL/TLS Certificate Authority (CA) certificates has not bee setup properly. Download cacert.pem Move the cacert.pem file to a folder, e.g. C:\code\ssl\cacert.pem Edit the php.ini file and change the curl.cainfo parameter, e.g. curl.cainfo = “C:\code\ssl\cacert.pem”

<span title='2018-02-09 17:33:00.001 +0800 +0800'>February 9, 2018</span>