Error: Call to undefined function curl_init() in xampp

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…

XAMPP

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!

Related Entries...

World News:

12 Responses

[...] This post was Twitted by devblogzone – Real-url.org [...]

04.26.09

Nice, thanks!

04.26.09

well done, thanks!!

04.26.09

Thanks, helps a lot!

04.26.09

Hi,

I tried this but not working.

Thanks,
Logu

04.26.09

Please check once again, it is working for me….

Thanks,
Vivek

04.26.09

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.

04.26.09

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

04.26.09

i try to change php.ini file in (\xampp\php) , its not working
but “Kenny’s method” work for me. thanks

04.26.09

Great Post. I soved my Problem.

Thanks, Pal

04.26.09

yes, I first tried remove the ; from “extension=php_curl.dll” in php.ini file on C:\xampp\php. But it doesn’t work for me. However after I tried Kenny’s method it worked! I wonder why…

04.26.09

nice thankss….solved…

Leave Your Response

* Name, Email, Comment are Required

Online Sponsors

Start Foreign Exchange Trading today with the Forex Affiliate Program and also you can have access Online Forex News to know what happens every single moment.


Forex Floor