working solution:
• Assuming On windows
XAMPP server
similar for other environment - download and extract for cacert.pem here (a clean file format/data)
Download From : https://curl.haxx.se/docs/caextract.html
• put it here
C:\xampp\php\extras\ssl\cacert.pem
• in your php.ini put this line in this section:
;;;;;;;;;;;;;;;;;;;;
; php.ini Options ;
;;;;;;;;;;;;;;;;;;;;
curl.cainfo = "C:\xampp\php\extras\ssl\cacert.pem"
• restart your webserver/apache
Problem solved!
No comments:
Post a Comment