Page 1 of 1

Curl Library in xampp 1.5

PostPosted: 20. September 2006 08:56
by crinch
Hi,

I am getting this error on this line of code,
Fatal error: Unknown function: curl_init()

$ch = curl_init();

how i could solve this, if this is due to curl library then how it can be activate in xampp1.5.
waiting for response, thanks in advance.

Crinch.

PostPosted: 20. September 2006 09:55
by Wiedmann
Which error?

PostPosted: 26. September 2006 21:53
by tholyoak
I am getting the same error:

Fatal error: Call to undefined function curl_init() in C:\apache\xampp\htdocs\bp\AIM.class.php on line 204

Is there something you have to do to make curl work?

This is the offending line of code:

$ch = curl_init($this->server);

Thanks,
Trevor

PostPosted: 26. September 2006 22:02
by Wiedmann
Is there something you have to do to make curl work?

Enable the extension in "php.ini".

PostPosted: 26. September 2006 22:25
by tholyoak
Thanks! That made a huge difference! :wink: