curl support

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

curl support

Postby josephmo » 14. July 2009 18:02

I am trying to use curl, and here's the response I"m getting to my curl_init call from xampp:

Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\includes\EmptyPHP.php on line 9

In addition, calls to file_get_contents get me similar responses from xampp

If I FTP to my linux server, the PHP code runs fine. Ideas are appreciated.
josephmo
 
Posts: 9
Joined: 07. July 2009 10:39

Re: curl support

Postby Wiedmann » 14. July 2009 18:17

In addition, calls to file_get_contents get me similar responses from xampp

Not really possible, because file_get_contents() is a internal function and allways available.

Fatal error: Call to undefined function curl_init()

You have enabled the curl extension in "php.ini"?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: curl support

Postby josephmo » 14. July 2009 18:33

the option for curl in php.ini was disabled. Thank you. I still have to figure out why I'm getting the error message for file_...
josephmo
 
Posts: 9
Joined: 07. July 2009 10:39


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests