Curl Library in xampp 1.5

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Curl Library in xampp 1.5

Postby crinch » 20. September 2006 08:56

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.
Last edited by crinch on 20. September 2006 12:20, edited 1 time in total.
crinch
 
Posts: 2
Joined: 15. September 2006 06:34

Postby Wiedmann » 20. September 2006 09:55

Which error?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby tholyoak » 26. September 2006 21:53

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
tholyoak
 
Posts: 12
Joined: 12. September 2006 15:58

Postby Wiedmann » 26. September 2006 22:02

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

Enable the extension in "php.ini".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby tholyoak » 26. September 2006 22:25

Thanks! That made a huge difference! :wink:
tholyoak
 
Posts: 12
Joined: 12. September 2006 15:58


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 128 guests