win下安装Composer
1.下载地址:https://getcomposer.org/Composer-Setup.exe
2.按照以下步骤完成证书下载
-
save ca-bundle.crt to your local path(eg.d:/download/ca-bundle.crt);
-
double click
ca-bundler.crt
to import it; -
add the two line to php.ini
curl.cainfo=d:/download/ca-bundle.crt
openssl.cafile=d:/download/ca-bundle.crt -
try to install
Composer-Setup.exe
again.
3.安装Composer-Setup.exe