Hello,

I can't use CURL,

$ch = curl_init();

I get the error

Fatal error: Call to undefined function curl_init()

I've used phpinfo() and found the php.ini directory,

Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini

I've then edited the php.ini file from that directory and removed the semi-colon in-front of
extension=php_curl.dll
Restarted Apache but am still receiving the error.

I'm using Wamp and I know there's another php.ini file in the D:\wamp\bin\php directory, so I've uncommented that line from that file too, restarted Apache and still receive the error.

I don't know where to go from here, can anyone advise me please?

Recommended Answers

All 5 Replies

Is there a Windows instruction manual for installing CURL?

Sorry that tutorial doesn't work, the error remains.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.