Recently I asked a similar question on mysqli
extension. Still the fix for mysqli
is not working for curl
.
I'm using PHP 5.6.30
and I need curl
extension. In php.ini
I have
extension_dir = "ext"
...
extension=php_curl.dll
ext
dir exists in folder where php is installed, and php_curl.dll
exists in either ext
folder and in php install folder. php -m
shows that curl
is installed. Still the following code
curl_version();
outputs Fatal error: Call to undefined function curl_version()
The question is: how can I find out what's wrong with curl
?
UPD. I'm using Win7
and the server is Apache 2.4