Wednesday, July 26, 2017

[php][Resolved] Composer\Exception\NSslException

Step 1)

Remove the ; before the line "extension=php+openssl.dll " :


So that it looks :
;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll

Step 2)

If you are in development machine only (not recommended for your Server), turn off TLS for composer by this command :
composer config -g -- disable-tls true

Step 3)

restart your web server.

Reference

https://stackoverflow.com/questions/35249620/the-openssl-extension-is-required-for-ssl-tls-protection

No comments :

Post a Comment