Local Community

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 setti ng the 'disable-tls' option to true

I’m trying to run a composer command and I get the following error:

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 setti
ng the ‘disable-tls’ option to true.

I checked phpinfo() and it says openssl is enabled.