Softaculous


Topic : [Fixed] Missing php openssl extension in AMPPS 3.5


Posted By: jlgrall on July 18, 2016, 11:28 am
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:
Code
extension=openssl.so


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)


Powered By AEF 1.0.8 © 2007-2008 Electron Inc.