Open your php.ini file and found the line ‘extension=php_curl.dll’ and remove the semicolon (; Here semicolon is comment). After that save the file and restart the apache server. You have done.
It is also helpful in future. Find the line ‘extension=php_mcrypt.dll’ and remove the semicolon before it if there. Save the file and restart the apache server.