Posted by Arjun Arjun on Friday 24th January 2014, 1 minute read

How to Enable cURL on Windows & Apache Server?

How to

Firstly, locate your php.ini file, which in my case is in the default directory of xampp\php and edit with a notepad.

Locate and uncomment (remove the ; at the start of the line) the following lines:

extension=php_curl.dll

Restart your Apache server.

To test if cURL is successfully running on your Windows Apache Server, run phpinfo(); on your localhost like so:


You should see somewhere on that page a block that looks like this:
curl

That's it

...
Arjun

I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.