Home>Article>Development Tools> Solve the problem of SSL error in php Composer
This article is written by the tutorial column ofcomposerto introduce how to solve the problem of SSL error when running php Composer under Windows. I hope it will be helpful to friends in need!
Solution to the problem of SSL error when running php Composer under Windows:
SSL error when running composer under Windows:
E:\www>php -f composer.phar install Loading composer repositories with package information Installing 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”
Caused by not installing the CA certificate! ! !
CA certificate download address:
http://curl.haxx.se/docs/caextract.html
Then modify the php.ini file
openssl.cafile= D:/xampp/php-5.6/cacert.pem
The above is the detailed content of Solve the problem of SSL error in php Composer. For more information, please follow other related articles on the PHP Chinese website!