Home > Backend Development > PHP Tutorial > 解决Windows下运行php Composer出现SSL报错的问题

解决Windows下运行php Composer出现SSL报错的问题

WBOY
Release: 2016-06-23 13:41:40
Original
929 people have browsed it

在windows下运行composer却出现SSL报错:

E:\www>php -f composer.phar installLoading composer repositories with package informationInstalling dependencies (including require-dev)SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed”
Copy after login

没有安装CA证书导致的!!!

CA证书下载地址:http://curl.haxx.se/docs/caextract.html

然后修改php.ini文件

openssl.cafile= D:/xampp/php-5.6/cacert.pem


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template