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

后端 未结 18 1110
臣服心动
臣服心动 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:19

    After editting the "right" files (all php.ini's). i had still the issue. My solution was:

    1. Adding a System variable: OPENSSL_CONF

      the value of OPENSSL_CONF should be the openssl.cnf file of your current php version.

    for me it was:

    • C:\wamp\bin\php\php5.6.12\extras\ssl\openssl.cnf

    -> Restart WAMP -> should work now

    Source: http://php.net/manual/en/openssl.installation.php

提交回复
热议问题