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

前端 未结 5 640
感情败类
感情败类 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:22

    These steps worked for me:

    1. Add the main php folder onto the Path Env variable in Windows (so libeay32.dll and ssleay32.dll are path-accessible ... some people copy these to Windows/System32 to make them path-accessible but that isn't really elegant way to solve issue)
    2. Add the Apache bin folder onto the Path Env variable in Windows

    3. Copy the file libssh2.dll from the php folder to apache's bin folder (Apache seems to need this for php's curl to work in Windows)

提交回复
热议问题