Home  >  Article  >  Backend Development  >  How to solve php curl 60 error

How to solve php curl 60 error

藏色散人
藏色散人Original
2020-09-11 09:56:292938browse

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.

How to solve php curl 60 error

Recommended: "PHP Video Tutorial"

1. Turn on the php_openssl extension

2. Go to https://curl.haxx.se/ca/cacert.pem Download 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn