Error: Call to undefined function curl_init() in xampp
Categories: Featured, PHP, Programming
Tags: PHP, WebTools
Written By: admin
Advertisement
Introduction:
When I am trying to run my application which was developed using “CURL” concept, while I am running my application, it has given an error like “Call to undefined function curl_init()“, I am annoyed by seeing that error…

How to resolve it:
I got the solution for you, just goto your installed folder – I have installed in C:\ drive in Windows Vista, goto php folder that is “C:\xampp\php” in that search for “php.ini” open it. After opening search for “extension=php_curl.dll” just uncomment that one. After doing that, just restart your Apache. Job is done!









May 15th, 2009 at 3:23 am
[...] This post was Twitted by devblogzone – Real-url.org [...]
November 10th, 2009 at 8:30 pm
Nice, thanks!
November 16th, 2009 at 12:08 am
well done, thanks!!
December 7th, 2009 at 1:17 am
Thanks, helps a lot!
January 16th, 2010 at 3:29 am
Hi,
I tried this but not working.
Thanks,
Logu
January 16th, 2010 at 10:27 am
Please check once again, it is working for me….
Thanks,
Vivek
January 24th, 2010 at 5:04 pm
It is not working for me too if i follow your instruction (\xampp\php)
However, if I do the changte in \xampp\apache\bin\php.ini instead. it works fine.
January 25th, 2010 at 7:29 am
Hi Kenny,
Are you sure that php.ini file is in \xampp\apache\bin\php.ini -> the php.ini file is in \xampp\php\php.ini
Thanks,
Vivek
February 3rd, 2010 at 10:43 pm
i try to change php.ini file in (\xampp\php) , its not working
but “Kenny’s method” work for me. thanks
February 15th, 2010 at 9:09 am
Great Post. I soved my Problem.
Thanks, Pal