I tried to install composer like:
curl -sS https://getcomposer.org/installer | php
It returns me an error:
The openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl
despite on the extension OpenSSL is enabled in PHP.
I can see that in phpinfo()
:
PHP Version 5.6.30
OpenSSL support enabled
OpenSSL Library Version LibreSSL 2.2.7
OpenSSL Header Version LibreSSL 2.2.7
Openssl default config /private/etc/ssl/openssl.cnf
How to fix this issue?