PHP 7.0 cURL not working - WAMP on Windows 10 64 bit [duplicate] PHP 7.0 cURL not working - WAMP on Windows 10 64 bit [duplicate] curl curl

PHP 7.0 cURL not working - WAMP on Windows 10 64 bit [duplicate]


  1. Download ca-bundle.crt from https://github.com/bagder/ca-bundle/blob/e9175fec5d0c4d42de24ed6d84a06d504d5e5a09/ca-bundle.crt
  2. Put the file in c:\wamp64\
  3. Change php.ini to the following

    curl.cainfo="C:/wamp64/ca-bundle.crt"

    openssl.cafile="C:/wamp64/ca-bundle.crt"

This worked for me.

Note : You have to restart server after doing above process.