1

I'm trying to install Composer. However, it's giving me an error about "...openssl extension is missing..." (please see screenshot)

enter image description here

In my wampserver configuration I've enabled openssl extension (please see screenshot)

enter image description here

Please advice.

SBel
  • 3,315
  • 6
  • 29
  • 47
  • possible duplicate of [How to install: OpenSSL + WAMP](http://stackoverflow.com/questions/9320529/how-to-install-openssl-wamp) – Liam Sorsby Apr 30 '14 at 11:43
  • @LiamSorsby I'll try in the evening and get back about if this solves the issue. Thanks. – SBel Apr 30 '14 at 13:32

1 Answers1

1

The composer download, as far as I remember, uses the PHP CLI (Command Line Interface) so in fact you have to include the php_openssl module into the PHP.INI used by the PHP CLI.

So edit the php.ini in the \wamp\bin\php\phpx.y.z folder. You have to do this manually you cannot use the menu liks on wampmanager.

Just remove the comment # from column 1 of this line

#extension=php_openssl.dll
RiggsFolly
  • 93,638
  • 21
  • 103
  • 149