09 May 2010

Getting cURL to work in XAMPP

I'm playing around with installing Magento in XAMPP at the moment and discovered that the XAMPP package does not ship with cURL enabled by default.

Getting cURL to work in XAMPP was very simple:

1) Find the php.ini file (in \xampp\php )
2) Open it in your favourite text editor and search for "curl"
3) You should see a line like this --> ;extension=php_curl.dll
4) Remove the semi-colon to uncomment the line and enable cURL
5) Restart the Apache server

Of course this was also easy on my Kubuntu Linux box:

sudo apt-get install php5-curl
sudo apache2ctl restart

No comments:

Post a comment

Note: only a member of this blog may post a comment.