-2

How to solve this error?

PHP Warning:  PHP Startup: Unable to load dynamic library 'path_to_php\ext\php_curl.dll' - The specified module could not be found.    
 in Unknown on line 0

Solution

copy libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll to Windows\system32 folder

Community
  • 1
  • 1
Robert
  • 1,982
  • 2
  • 24
  • 37

1 Answers1

0

I think the answer is in the message.

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\wamp\bin\php\php5.6.6\ext\php_curl.dll' - The specified module could not be found. 
in Unknown on line 0

PHP is looking for the php_curl.dll in your WAMP stack rather than a part of your system. Copy the file there: C:\wamp\bin\php\php5.6.6\ext\php_curl.dll rather than your system32 folder.

Philip Couling
  • 12,024
  • 4
  • 46
  • 75
  • problem solved with wamp but without wamp problem still exist – Robert Feb 24 '15 at 10:21
  • btw the file is in both folders – Robert Feb 24 '15 at 10:21
  • 1
    now i understand the problem when i copied the new php_curl.dll from the site there are a new error hapen so when i copied the files the first error solved but still with the wrong php_curl.dll file so when i get back the original file the problem solved – Robert Feb 24 '15 at 10:33