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.