Composer updateを行ったときに以下のようなエラーが発生!
[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.
原因はphpのアップデート作業でした
phpはwindows環境で実行しています。
phpのアップデートのため、一度phpディレクトリの中をすべて削除し、新しいバージョンを上書きしました。
その際「php.ini」も消してしまい、結果としてopensslのエクステンションも無効になってしまっていました。
OpenSSLの有効化
php.iniを以下の通り編集しました
; Directory in which the loadable extensions (modules) reside. ; http://php.net/extension-dir ;extension_dir = "./" ; On windows: extension_dir = "ext" ←この行のコメントを外し、有効化
;extension=bz2 ・・・省略・・・ ;extension=odbc extension=openssl ←この行のコメントを外して有効化
以上
以上の設定でComposerが動くようになりました。