1. 程式人生 > >php composer.phar install error The openssl extension is required for SSL/TLS protection

php composer.phar install error The openssl extension is required for SSL/TLS protection

php composer.phar install  error

$ php composer.phar install
  [Composer\Exception\NoSslException]
  The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-c
ustom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest
] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative]
 [--ignore-platform-reqs] [--] [<packages>]...

php.ini中extension=php_openssl.dll