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?

10
  • which particular wamp installation and version are you using? i assume this is hosted on your own pc?
    – user557846
    Oct 22, 2012 at 23:39
  • you stopped the server and edited 2 copies of php.ini to uncomment the line ** extension=php_curl.dll**?
    – user557846
    Oct 22, 2012 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... Oct 22, 2012 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... Oct 22, 2012 at 23:51
  • is "php_curl.dll" installed ?
    – user557846
    Oct 22, 2012 at 23:51

3 Answers 3

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
5
  • Worked.. but why are there two php.ini files? Sep 30, 2013 at 6:22
  • 3
    one is for php engine and one is for apache module Oct 2, 2013 at 16:49
  • 4
    Note, you only need to do the wamp/bin/php/your version of php/php.ini manually. You can use the right click menu in wamp to enable php_curl (this one does the apache module only).
    – Daryl B
    Nov 6, 2013 at 7:11
  • 2
    Hmm, I get a "side-by-side configuration..." error. Feb 5, 2014 at 18:56
  • 3
    UPDATE: by @peter Drinnon For WAMP running PHP 5.4.3 on Windows 7 64 bit, make sure you use php_curl-5.4.3-VC9-x64.zip NOT php_curl-5.4.3-nts-VC9-x64.zip. Feb 5, 2014 at 19:03
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!

3
  • 1
    Im trying this and still getting the same error, it's driving me crazy!
    – Mrk Fldig
    May 28, 2015 at 8:53
  • @Mrk Which version of wamp do you use? what are the apache and php versions?
    – Saranga A
    May 29, 2015 at 5:27
  • What it was is that the large archives don't work on win 8 you need the ones right at the bottom the are just for curl!
    – Mrk Fldig
    May 29, 2015 at 13:04
11

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.