How to enable PHP's openssl extension to install Composer?

后端 未结 18 1116
臣服心动
臣服心动 2020-11-27 12:29

I am trying to install Laravel in WAMP setup. I am getting a warning message for not enabling openssl which I had already done in WAMP.

Here is a sc

18条回答
  •  北海茫月
    2020-11-27 13:08

    you need to enable the openssl extension in

    C:\wamp\bin\php\php5.4.12\php.ini 
    

    that is the php configuration file that has it type has "configuration settings" with a driver-notepad like icon.

    1. open it either with notepad or any editor,
    2. search for openssl "your ctrl + F " would do.
    3. there is a semi-colon before the openssl extension

      ;extension=php_openssl.dll
      

      remove the semi-colon and you'll have

      extension=php_openssl.dll
      
    4. save the file and restart your WAMP server after that you're good to go. re-install the application again that should work.

提交回复
热议问题