I'm trying to get cUrl to work, and I'm stumped.
I've uncommented extension=php_curl.dll in the php.ini file and checked that php_curl.dll exists in the directory that extension_dir points to. I've also checked that the php.ini in the Apache directory is right.
I've copied the libcurl.dll's to Windows/System32, Windows/SysWOW64 and wamp\bin\php\php5.4.3
And I've restarted the services every time.
And still I get the Fatal error: Call to undefined function curl_init(). Curl doesn't show up when I run a phpInfo(). But when I look in the WAMP-menu PHP->PHP extensions php_curl does has a checkmark.
Any hints?
Edit:
@Daniel_M: The loaded ini is the one in the Apache directory, and extension=php_curl.dll has been uncommented, and extension_dir does point to the php/php5.4.3/ext directory where the php_curl.dll (and libcurl.dll) are located.
@ficuscr: I've copied the libcurl.dll v.7.27.0 all over the place. Where should I place it?
In general: When php_curl is unchecked in the PHP > PHP Extensions menu, the fatal error is preceeded by:
SCREAM: Error suppression ignored for. This doesn't happen when php_curl is checked. The fatal error message is the same in either case. A clue?