Page 1 of 1
Installing CURL
Posted:
25. January 2004 14:58
by cornernote
Hello,
Has anyone installed CURL with XAMPP for windows? I would appriciate any tips of advice on installing it.
Best regards,
Brett
Posted:
25. January 2004 15:03
by cornernote
Just found this post:
http://community.apachefriends.org/f/viewtopic.php?t=16
I did what it said with no luck. curl_init() still comes back as undefined function. I cannot read any of the comments as they are not in english.
Posted:
22. February 2004 05:06
by cornernote
Hello,
After hours and hours of looking around I figured it out! YAY!
I was editing:
C:\xampp\php\php.ini
Then I looked at my phpinfo to see where the php.ini was loading from. Turns out it is here:
C:\xampp\apache\bin\php.ini
I feel so stupid but I will post incase someone else makes the same mistake.
Best regards,
Brett
i did for a while
Posted:
26. February 2004 00:37
by MAGnUm
but when i change things and nothing changed i looked around. thx for finally posting it though. (EDIT: what the heck was i on? i made no sense as)
Posted:
17. March 2004 11:33
by TheStormer
mhhh ... any solutions? irgendwelche Lösungen?
I'd the same problem, still: Call to undefined function: curl_init()
- edit php.ini
- copy the dll's to system32
Thanks for supporting!
Greets
TheStormer
Posted:
17. March 2004 11:37
by Kristian Marcroft
Hi,
I have it running here...
You problably got the wrong php.ini.
You need the one in /xampp/apache/bin
Works fine here, without installing anything extra.
So long
KriS
Posted:
17. March 2004 11:45
by TheStormer
Hit ... yes, after editing the third php.ini
it works lovely.
Thanks-a-lot for the very quick answer!
Greets
TheStormer
Posted:
11. December 2006 11:38
by arya009
cornernote wrote:Hello,
After hours and hours of looking around I figured it out! YAY!
I was editing:
C:\xampp\php\php.ini
Then I looked at my phpinfo to see where the php.ini was loading from. Turns out it is here:
C:\xampp\apache\bin\php.ini
I feel so stupid but I will post incase someone else makes the same mistake.
Best regards,
Brett
Thanks...that works....apparantly i was also editing C:\xampp\php\php.ini but i was not checking with phpinfo
Posted:
31. December 2006 16:59
by harryatworld
thanks für die hilfreichen antworten, weil ohne diese hätte ich nicht weiter gewusst. Da die Anleitung bei cUrl mir nicht besonders weiter geholfen hatte.
Do I edit JUST the php.ini under C:\xampp\apache\bin\php.ini
Posted:
20. March 2007 20:05
by lostndazed
Or all php.ini files?
Posted:
15. July 2007 13:02
by mscand
cornernote
Your method for fixing cURL (i.e. editing the file in the apache/bin folder) worked for me too.
Thank you very much.
curl_init()
Posted:
28. December 2007 22:05
by shrg18
I got this error message:
Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\webbots\LIB_http.php on line 249
I have enabled curl in xampp\php\php.ini (extension=php_curl.dll at line 582). it works fine at command line, but not in localhost.
check the list, xampp\php\php -m , curl is among the list.
look at xampp\apache\bin\php.ini , there is none curl in the file and all extensions are uncommented. Is it the right file? where should I look and what should I do?
Posted:
29. December 2007 00:03
by sari42
...look at xampp\apache\bin\php.ini , there is none curl in the file and all extensions are uncommented. Is it the right file?
it
is the right place (didn't you read this thread?)
;extension=php_curl.dll
just change it to
extension=php_curl.dll
(or add that line if it's missing) and restart apache.
____
p.s.
it's always clever to ask phpinfo(); for the location of the used php.ini
Posted:
29. December 2007 04:44
by shrg18
sari42 wrote:...look at xampp\apache\bin\php.ini , there is none curl in the file and all extensions are uncommented. Is it the right file?
it
is the right place (didn't you read this thread?)
;extension=php_curl.dll
just change it to
extension=php_curl.dll
(or add that line if it's missing) and restart apache.
____
p.s.
it's always clever to ask phpinfo(); for the location of the used php.ini
thank you. it is fixed.
I copied extension=php_curl.dll to xampp\apache\bin\php.ini and restart the windows. it works.
thanks