How do I install the ext-curl extension with PHP 7?

后端 未结 12 751
终归单人心
终归单人心 2020-11-29 17:37

I\'ve installed PHP 7 using this repo, but when I try to run composer install, it\'s giving this error:

  • [package] requires ext-cu
12条回答
  •  攒了一身酷
    2020-11-29 18:21

    Windows users:

    Note: Note to Win32 Users In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll, or, as of OpenSSL 1.1 libcrypto-.dll and libssl-.dll, must be present in your PATH. Also libssh2.dll must be present in your PATH. You don't need libcurl.dll from the cURL site.

    https://www.php.net/manual/en/curl.installation.php

    Add your C:\wamp\bin\php\php7.1.15 to your PATH

    Restart all services

提交回复
热议问题