Jump to content

Fatal Error: Call To Undefined Function Curl_Init()


Recommended Posts

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?

Thanks Christian F.

I was using WAMP 64 bit version, and needed to use WAMP 32 bit version

http://forum.wampserver.com/search.php?2,search=curl,author=,page=1,match_type=ALL,match_dates=30,match_forum=ALL,match_threads=0

 

Then I used an option in WAMP to just 'tick' CURL from the interface and it works.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.