5

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

Jacques Gaudin
  • 15,779
  • 10
  • 54
  • 75
user3829245
  • 99
  • 1
  • 1
  • 4

5 Answers5

24

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.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Matthew Lee
  • 241
  • 2
  • 3
  • 1
    This seems a much better solution than adding to windows system directory. – slynagh Apr 14 '18 at 13:27
  • 1
    is " In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll" supposed to mean "remove '#' from line '#zend_extension ' and remove ';' from line ';extension=php_curl.dll' " ? Anyway it does not work for me – jumpjack Nov 11 '18 at 14:33
  • what if i cant find libssh2.dll in easyphp? – GeneCode Dec 09 '18 at 23:54
6

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.

Anar Haziyev
  • 69
  • 1
  • 1
3

The Solution was to copy the files from the php directory:

  • libeay32.dll
  • libsasl.dll
  • ssleay32.dll

to "C:\Windows\System"

user3829245
  • 99
  • 1
  • 1
  • 4
0

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):

  • libeay32.dll
  • libsasl.dll
  • ssleay32.dll

to the folder: C: \ WINDOWS \ SYSWOW64

wscourge
  • 10,657
  • 14
  • 59
  • 80
0

Simply add your php directory in the path (environment variable)

Dave
  • 1