How to use CURL in XAMPP

I receive many e-mails from my readers regarding my PHP & MySQL Develpment enviroment and xDebug on XAMPP most of those readers have trouble with running CURL on their XAMPP, also i find that over web have lots of explanations and How To-s for this issues some are good some are to way complicated so i decide to explain in brief what is and what is simple to do.

First lot of confusions seems that there is multiple php.ini files in standard XAMPP installation. If check documentation of XAMPP you will notice that php.ini file is in /xampp/php.ini and everything else need to be ignored. Also if you are lazy to read documentation you can check which php.ini apache use on your XAMPP by using

phpinfo(); or http://localhost/xampp/phpinfo.php

So when you locate your php.ini open this file in favorite text editor and find php_curl.dll currently this is commented by ; and all what you need to do is simply uncomment this line

extension=php_curl.dll

in your php.ini file, then restart Apache. If you asking what dlls you need, you don’t need because all dlls are included in XAMPP installation

This is installed and used on my 1.7.1 version

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

[...] the rest here: How to use CURL in XAMPP | Mad Babble & Lucid Thought By admin | category: Object, XAMPP | tags: carsten, carsten-wiedmann, develpment, [...]

Thank you for this tricks. That’s helped me.

:-)

Leave a comment

(required)

(required)