Today try to run composer under the Win8, but there is an SSL error:
D:\data\www\mmoyu\symapp>php-f%phprc%\composer Install
Loading Composer repositories with the package information
[Composer\downloader\transportexception]
The "Https://packagist.org/packages.json" file could not being Downloaded:ssl
Operation failed with code 1. OpenSSL Error messages:
Error:14090086:ssl routines:SSL3_GET_SERVER_CERTIFICATE:certificate Verify
Failed
Failed to enable Crypto
Failed to open Stream:operation failed
Install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p
Lugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--ver
Bose] [-o|--optimize-autoloader]
No CA certificate installed caused!!!
CA Certificate: http://curl.haxx.se/docs/caextract.html
Then modify the php.ini file
Openssl.cafile=c:/lamp/php56/verify/cacert.pem
Restart Apache
Solve the problem of SSL error when running PHP composer when installing yii2 under WIN8