Full Stack LAMP - MEAN Developer, Python developer. Certified Azure Developer. Freelance programmer/consultant/trainer.

How to Enable cURL on Windows & Apache Server?

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:


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:

That’s it

Leave a Reply