Reason:
The reason for this problem is that curl.cainfo is not configured, which is located in php.ini.
Solution:
Since the reasons for the errors are stated, it is much easier to solve them, as follows:
1. Download cacert
Download address: https://curl.haxx.se/ca/cacert.pem
2. Modify php.ini and restart
curl.cainfo="real_path/cacert.pem"
matters needing attention:
Needs to be turned on php_curl、php_openSSL extension;
Read More:
- [Solved] iis cURL error 60: SSL certificate problem: unable to get local issuer certificate
- [Solved] cURL error 60: SSL certificate problem: unable to get local issuer certificate
- PHP curl error: SSL certificate problem: unable to get local issuer certificate settlement program
- Fastadmin Menu “cURL error 77: error setting certificate verify locations
- [Solved] Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60
- [Solved] PHP getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL
- [Solved] OpenSSL Error messages: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
- [Solved] file_get_contents(): SSL operation failed with code 1
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- [Solved] PHP Error: Warning: file_get_contents(): Failed to enable crypto
- PHP file download, download failed, nginx open() nginx / fastcgi_ temp/2/10/0000000102“ failed (13: Permission denied)
- [Solved] Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path:
- [Solved] PHPMailer Error: SMTP ERROR: Failed to connect to server: (0)
- [Solved] Laravel Upload Files Verificate Error: The file failed to upload.
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- composer Failed to decode response: zlib_decode(): data error
- [Solved] ‘node’ command failed to start the project, with an error: “unknown database’ mydb ‘”
- php_network_getaddresses: getaddrinfo failed (How to Fix)
- php Error: mail() Failed to connect to mailserver at “localhost” port 25
- [Solved] PHPMailer Failed to Send Email: SMTP Error: Could not connect to SMTP host.