As you said, we uncomment the line "; extension = php_curl.dll" in php.ini
php.ini can be in several places. To check where the corresponding one is located, go to phpmyadmin (http: // localhost / phpmyadmin), run phpinfo () β the left-side menu.
The left column will indicate half the page: "Configuration file (php.ini)" Path "with the path in the right column.
Or just find the page for php.ini (Ctrl + F)
In different versions of xampp there was php.ini, if in different directories, and some have 3 versions of the file in different places. Many tutorials say to change them all if you change the settings / uses later.
Open the file in a text editor and find the line (via search); Extension = php_curl.dll
Remove the ";" split it to become: extension = php_curl.dll
Save file. Restart apache.
Repeat the double check and run phpinfo (). Find the "curl" in the "cURL Support" section. It should say "on."
Hooray!
source share