35

I try 30 combination of answer and forum topic but did not find the right answer.

I do all but how I can enable the curl int wamp server becouse I need that?

is there any solution? I try to uncomment - dont work? I try to chech into wamp task bar icons - php extension - php_curl I try to copy php_curl.dll into win sistem

NOT WORK

What I need to do?

user1766361
  • 351
  • 1
  • 3
  • 11
  • which particular wamp installation and version are you using? i assume this is hosted on your own pc? –  Oct 22 '12 at 23:39
  • you stopped the server and edited 2 copies of php.ini to uncomment the line ** extension=php_curl.dll**? –  Oct 22 '12 at 23:46
  • also I get: php startup: unable to load dynamic library ... the application has failed to start becouse its side-by-side configuration is incorrect... – user1766361 Oct 22 '12 at 23:50
  • I uncomment the both files but then I get: php startup: unable to load dynamic library ... the application has failed to start becouse its side-by-side configuration is incorrect... – user1766361 Oct 22 '12 at 23:51
  • is "php_curl.dll" installed ? –  Oct 22 '12 at 23:51
  • yes the file is inside directory.. how you mean installed? – user1766361 Oct 22 '12 at 23:53
  • side-by-side errors are usually due to having wrong runtime versions of DLLs. I don't know enough about the php_curl.dll you're using, but you may want to make sure you have the latest .NET and Visual Studio runtimes – ernie Oct 22 '12 at 23:54
  • i have the latest .net visual studio c++ – user1766361 Oct 22 '12 at 23:56
  • also i get from net other php_curl.dll and copy in ext directiry but also not work – user1766361 Oct 23 '12 at 00:06
  • Check out this post It will show Where to enable curl http://stackoverflow.com/questions/12380670/call-to-undefined-function-curl-init-error-in-wamp-2-2/12387954#12387954 – Sohail Ahmed Oct 23 '12 at 07:12

3 Answers3

93

The steps are as follows :

  1. Close WAMP (if running)
  2. Navigate to WAMP\bin\php\(your version of php)\
  3. Edit php.ini
  4. Search for curl, uncomment extension=php_curl.dll
  5. Navigate to WAMP\bin\Apache\(your version of apache)\bin\
  6. Edit php.ini
  7. Search for curl, uncomment extension=php_curl.dll
  8. Save both
  9. Restart WAMP
djmzfKnm
  • 26,679
  • 70
  • 166
  • 227
Bibaswann Bandyopadhyay
  • 3,389
  • 2
  • 31
  • 30
25

I got the same issue and this solved it for me. Perhaps this might be a fix for your problem too.

Here is the fix. Follow this link http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

Go to "Fixed curl extensions" and download the extension that matches your PHP version.

Extract and copy "php_curl.dll" to the extension directory of your wamp installation. (i.e. C:\wamp\bin\php\php5.3.13\ext)

Restart Apache

Done!

Refer to: http://blog.nterms.com/2012/07/php-curl-issues-with-wamp-server-on.html

Cheers!

Saranga A
  • 1,091
  • 16
  • 22
11

Left Click on the WAMP icon the system try -> PHP -> PHP Extensions -> Enable php_curl

George Isaac
  • 569
  • 4
  • 9