To enable cURL in PHP I uncomment this line
extension=php_curl.dll
But cURL did not load on restarting Apache. Even on restarting the mach
I upgraded to PHP 5.6.4 and curl stopped working. php.ini and ext were fine.
I solved this problem by adding C:\php (my php folder) to system variable Path in the Control Panel->System-Advanced->Environment Variables.