Saturday, September 26, 2009

Enable curl in XAMPP on Windows XP


I was trying to install Zen Cart in My Local Host, when running the installing script, it got error that the cURL in PHP is not enable. So I google and found this on Tildemark blogs & Sarugu.com. After I done the following step, the error massage when off. So below is the step:

By default cURL is disabled in XAMPP. To work the cURL Library you have to modify the php.ini files in your XAMPP folder. For this follow the steps posted here.

1) Locate the following files:
C:\Program Files\xampp\apache\bin\php.ini
C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini

2) Uncomment the following line on your php.ini file by removing the semicolon.

;extension=php_curl.dll

3) Restart your apache server.

4) Check your phpinfo if curl was properly enabled.

1 comment:

Bijayani said...

Hi,

I happened to see this post would like to share a link where a software engineer has shared a tip on “What is cURL and how to enable it for XAMPP? ”.

"cURL is a command line tool for transferring files with URL syntax. It supports a number of transfer protocols including HTTP and FTP".

For more detail here is the link:
http://www.mindfiresolutions.com/What-is-cURL-And-How-To-Enable-It-For-XAMPP-183.php

Hope you find it useful and of assistance.

Thanks,
Bijayani

Emax Search Engine

Custom Search