I know that it's a very often asked problem, but I've tried all that I found and it still doesn't work.
I use WAMP 2.2 on Windows 7 (64 bits), and PHP 5.4.3. When I call curl_init() in localhost, I've this error message :
Call to undefined function curl_init()
What I've done :
- Check php_curl in PHP extensions of WAMP
- Restart WAMP many times
- Remove ; before extension=php_curl.dll in my two php.ini files
- Check extension_dir = "c:/wamp/bin/php/php5.4.3/ext/" in my two php.ini files
- Restart WAMP many times
- Change the DLL for this supposedly corrected DLL http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/
- Restart WAMP many times
And when I call php_info(), I cannot find curl...