When using composer.phar, I get this error in my terminal:
Code [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.
I checked in the php.ini, but there is no mention of openssl !
So I just added this line at the end of both /Applications/AMPPS/conf/php-7.0.ini and /Applications/AMPPS/php-7.0/etc/php.ini:
On Windows, you should probably use this line instead:
Code extension=openssl.dll
And now it works
(I am on Mac OS X 10.6, using AMPPS 3.5 with php 7.0.6)
|