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: , , , , ,
Posted in PHP, Programming, Troubleshoot

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>