Enable cURL with WAMP Server, problems solved.

[En Español: https://josemmsimo.wordpress.com/2013/06/01/activar-curl-con-wamp-server-problemas-resueltos]

This article is not only for enable cURL in WAMP Server… In addition, it is for resolve the problem that have the last versions of WAMP Server with cURL, so that if you have problems for active cURL, you have found the solution here :)

Some days ago, in my actual project we had the necessity of use the cURL. In order to resolve this problem was necessary change some files in WAMP and add some files in Windows.

This solution is for PHP 5.4.3 and PHP 5.3.13 (64 bit) for Windows, because they are the last versions of WAMP (in this moment) and the versions that have these problems.

In order to enable the cURL:

  • Stop all the services in WAMP Server (left click in the icon of WAMP / click in “Stop All Services”).
  • Close WAMP (right click in the icon of WAMP / “Exit”).
  • Open C:\wamp\bin\php\php[your actual version]\php.ini with Notepad or similar, and uncomment extension=php_curl.dll (delete “;” before of “extension=php_curl.dll”). Save the changes and close.
  • Open C:\wamp\bin\apache\apache[your actual version]\bin\php.ini with Notepad or similar, and uncomment extension=php_curl.dll (delete “;” before of “extension=php_curl.dll”). Save the changes and close.

Theoretically, it is not necessary do more changes, but if you are using the version PHP 5.4.3 or PHP 5.3.13 in WAMP server, you will have problems.

In order to resolve these problems:

  • Copy the files libeay32.dll and ssleay32.dll in C:\Windows\System32\
  • Copy the file php_curl.dll in c:\wamp\bin\php\php[your actual version]\ext\

In order to download libeay32.dll and ssleay32.dll click here.

In order to download php_curl.dll, there are several possibilities:

– Using PHP in “Non Thread Safe” (the most normal):

– Using PHP in “Thread Safe”:

I hope this has helped you ;)

Leave a comment

Por favor, inicia sesión con uno de estos métodos para publicar tu comentario:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s