Reputation: 99
After uncommenting the curl-modul in the php.ini i get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5617x160120145639\ext\php_curl.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
Upvotes: 5
Views: 21769
Reputation: 342
For anyone facing this issue in 2025, there are a lot of different answers involving copying files from one directory to another and you can find yourself doing this randomly and unsuccessfully and ending up in a frustrated mess. If you open the snapshot.txt file in the root of your PHP installation you get a list of dependencies. In mine, for curl I get:
Dependency information:
Module: php_curl.dll
===========================
libcrypto-3.dll
libssl-3.dll
libssh2.dll
nghttp2.dll
If you copy these (from the list in your snapshot.txt file) to the bin directory of your Apache installation and restart the Apache server you should have curl loading properly.
In my case nghttp2.dll was already in apache/bin and I had to overwrite it with the one from the root of my PHP install because the original one in apache/bin didn't work.
Upvotes: 1
Reputation: 11
If you use the 32-bit version of EasyPHP and the 64-bit version of Windows, the solution is to copy the files below (from the EasyPHP PHP folder):
to the folder: C: \ WINDOWS \ SYSWOW64
Upvotes: 1
Reputation: 241
This as, Anar Hariyev states, works:
100% working solution, I won this problem!
1) Copy libssh2.dll from php directory to Windows/system directory
2) In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll
3) Restart Apache server.
However, you can copy libssh2.dll into Apache's bin folder as opposed into the Windows System directory. This keeps the server portable.
Upvotes: 24
Reputation: 69
100% working solution, i won this problem!
1) Copy libssh2.dll from php directory to Windows/system directory
2) In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll
3) Restart Apache server.
Upvotes: 6
Reputation: 99
The Solution was to copy the files from the php directory:
to "C:\Windows\System"
Upvotes: 3