Because PHP for Windows doesn't ship with very good SSL support, we recommend setting up OpenSSL.

  1. Download and save the attached file mk-ca-bundle.vbs to your C:\ directory. 
  2. Run the file from your command line.

    C:\>mk-ca-bundle.vbs
  3. In the [PHP] section of the PHP.ini file, add this line of code.

    curl.cainfo = c:\ca-bundle.crt
  4. Save and close the PHP.ini file.