How to configure cURL in xampp server

xampp server with default configuration can’nt run curl_init();

to make it work in xampp server we have to edit three files namely

1. php.ini(which is a configuration stting file).

2. php.ini-recommended(INI-DIST file)

3. php.ini-dist(INI-RECOMMENDED file)

open these files in notepad and search for ‘curl’ and remove ‘;’ symbol, save and close the files.

Remember to restart your server before running the application.

Tagged with: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.