Sometimes xampp or Wamp Server and windows 7, 8, 8.1 or 10 user may face a unwanted problem when installing PHP Composer. You may familiar with the following error.
Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
file_get_contents(): Failed to enable crypto
file_get_contents( failed to open stream: operation failed
But How to Solve it?
You can try two Solution:
01. Solution One:
******************************
You should download a global SSL Certificate:
Link:
Then, update you php.ini file by appending following lines to it:
openssl.cafile=/anywhere-you-like/cacert.pem
02. Solution Two:
*******************************
Use Latest Version of xampp or Wamp Server
Use Latest Version of Operating system
Good Luck.
Nguồn: https://sam-pointer.com/
Xem thêm bài viết khác: https://sam-pointer.com/cong-nghe/
Xem thêm Bài Viết:
- Which SSD Is Better – Samsung 860 PRO vs 850 PRO SSD
- Installing Samsung Evo 860 250Gb SSD in G41 Board | Unbox, Review & how to install OS in ssd + HDD
- Samsung 860 EVO Review and Installation
- Lounch Startup Repair Windows 7 #Start Windows Normally #Blue Screen Starting Windows
- Startup Repair Cannot Repair This Computer Automatically Windows 10 [FIX]
how to download global ssl?