Getting cURL to Work in XAMPP
Simple yet effective.
- Go to xampp install directory.
- Go to php.ini in php directory.
- Open php.ini and find curl, uncomment the first find you see. Save and close file.
- Go to php.ini in apache directory.
- Repeat Step Three.
Done.

April 8th, 2007
Do you have to install curl or does it come with XAMPP?
I did phpinfo() and curl doesn’t show up, even though I uncommented it as you directed.
Thanks if you can help.
April 9th, 2007
hi jonah, curl is a module in php, identified by libcurl. In XAMPP, this comes pre-packaged, but not pre-installed. You may want to try restarting your XAMPP server, via xampp-control.exe which should be in your xampp root directory.
August 26th, 2007
Awesome! Thanks.
August 28th, 2007
Brilliant. Thanks for this.
November 21st, 2007
Just Briliant. I have been pacing around trying to figure out how to get this working until i came across your awsome post. Many thanks.
November 21st, 2007
@Magara, @Ewan, @Dao - Glad I could help!
November 30th, 2007
Thanks for this post! Now I don’t have to dig through pages of text or forums! Yay!
January 7th, 2008
MAY NEED TO RESTART WINDOWS - ONLY RESTARTING APACHE MAY NOT BE ALL THATS NEEDED
February 27th, 2008
Using cURL with XAMPP…
If you have read through this blog, you will realise that I am a big fan of the cURL library for PHP. Also, when using windows to code - I like to use the XAMPP package to give me easy access to an Apache, PHP and MySQL stack.
So here is my quick guide…
May 2nd, 2008
Thnx very much , this post help me alot THANKS !b