Errors in installing php composer on windows

后端 未结 2 1481
时光取名叫无心
时光取名叫无心 2021-01-28 00:05

While installing the composer to user the laravel framework, I got some errors :

Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL          


        
相关标签:
2条回答
  • 2021-01-28 01:06

    I have the same problem using wamp on windows 7, and I already enabled the openssl.dll in php.ini, still report the same error. my problem is caused by the network provider,and I have no idea what's wrong with the them. after I connect to a VPN network .it works like a charm.

    0 讨论(0)
  • 2021-01-28 01:09

    Having the OpenSSL extension enabled does not mean it is configured correctly.

    It fails to validate the certificate for getcomposer.org. That means either some man-in-the-middle server messes with your request or you somehow did not configure the set of default CA Authorities. Your server operator can tell you more.

    0 讨论(0)
提交回复
热议问题