Home>Article>Backend Development> How to solve php curl 60 error
Solution to php curl60 error: first enable the "php_openssl" extension; then download cacertpem to the PHP folder; finally remove the semicolon in front of "curl.cainfo" in the "php.ini" file. Can.
Recommended: "PHP Video Tutorial"
1. Turn on the php_openssl extension
2. Go to https://curl.haxx.se/ca/cacert.pemDownload cacertpem to the PHP folder.
3. Go to the php.ini file, remove the semicolon in front of curl.cainfo, and add the absolute address of cacert.pem at the end. As follows
#3. The curl error 60 error is solved after restarting wamp.
The above is the detailed content of How to solve php curl 60 error. For more information, please follow other related articles on the PHP Chinese website!