PHP Warning: PHP Startup: Unable to load dynamic library php_curl.dll impossibile find
These steps worked for me:
- Add the main php folder onto the Path Env variable in Windows (solibeay32.dll and ssleay32.dll are path-accessible ... some peoplecopy these to Windows/System32 to make them path-accessible but thatisn't really elegant way to solve issue)
Add the Apache bin folder onto the Path Env variable in Windows
Copy the file libssh2.dll from the php folder to apache's binfolder (Apache seems to need this for php's curl to work in Windows)
What worked for me:
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.
In php.ini, make sure the extension curl is loaded. This will be
extension=php_curl.dll
for php < 7 andextension=curl
in php 7Restart Apache Service