Daniel o Keeffe
Daniel o Keeffe

Reputation: 578

curl(init) function not recognisied

I get the following error

Fatal error: Call to undefined function curl_init() in C:\wamp\www\google_basic.php on line 37

when i try to run my code. I am using WAMP and the PHP curl extension is enabled and uncommented in the php.ini file, and services have been restarted. Any ideas on getting it enabled?

TIA

Upvotes: 0

Views: 66

Answers (2)

Daniel o Keeffe
Daniel o Keeffe

Reputation: 578

Found the answer at Call to undefined function curl_init() error in wamp 2.2 .

Uninstalled WAMP a couple of days ago without the fixed CURL extensions which I had previously installed. Thanks guys.

Upvotes: 0

CodeAngry
CodeAngry

Reputation: 12995

var_dump(extension_loaded('curl'));

To test is cURL is actually loaded.

Upvotes: 1

Related Questions