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
i was facing the same error with wamp on windows the problem solved when i deleted another app using php (and making conflict) and reinstall wamp
Make sure that in php.ini
, extension_dir =
points to the correct path if it's uncommented.
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 and extension=curl
in php 7
Restart Apache Service
PHP Startup: Unable to load dynamic library 'curl' ... Uncommenting 2 lines in the php.ini file solves this
Open php.ini
Remove semicolon to uncomment ;extension_dir = "ext"
Remove semicolon to uncomment ;extension=curl
Save php.ini
These steps worked for me:
Add the Apache bin folder onto the Path Env variable in Windows
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)