You must modify the php.ini files in your xampp folder. You need to change three files in three different places.
Follow these steps to enable curl library with XAMPP on Windows:
Step 1:
Browse and open the following 3 files
C:\Program Files\xampp\apache\bin\php.ini C:\Program Files\xampp\php\php.ini C:\Program Files\xampp\php\php4\php.ini
Step 2:
Uncomment the next line in the php.ini file by removing the semicolon (;).
After that, he will look somehow below -
extension=php_curl.dll
Step 3:
Reboot the Apache server.
Step 4:
Check phpinfo() to make sure curl is enabled or not.
Enjoy using the curl () library.
Anjuman Mar 13 2018-12-12T00: 00Z
source share