PHP Warning: PHP Startup: Unable to load dynamic library php_curl.dll impossibile find

前端 未结 5 605
感情败类
感情败类 2021-01-12 09:51

I have Windows 10 with WAMP server (Apache 2.4.9, PHP 5.5.29 VC11 x64, e MySQL). All works fine, but now I will use curl extension.

I go into C:\\wamp\\bin\\ph

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-12 10:07

    What worked for me:

    1. I copied libssh2.dll, libcrypto-1_1-x64.dll, libssl-1_1-x64.dll, ssleay32.dll, libeay32.dll to Apache bin folder. Probably not all of those are needed.

    2. In php.ini, make sure the extension curl is loaded. This will be extension=php_curl.dll for php < 7 and extension=curl in php 7

    3. Restart Apache Service

提交回复
热议问题