Step 1:
Browse and open the following 3 filesC:\Program Files\xampp\apache\bin\php.ini
C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini
Step 2:
Uncomment the following line in your php.ini file by removing the semicolon (;).;extension=php_curl.dll
After that it will look something like something below-extension=php_curl.dll
Step 3:
Restart your Apache server.Step 4:
Check yourphpinfo() to see whether curl has properly enabled or not.Enjoy using curl() library.