The method is very simple, you just need uncomment extension=php_curl.dll on php.ini so it will be like this
extension=php_curl.dll
But the problem is you need do that on the right php.ini which is use for PHP Configuration File on xampp. You can check where is location of the right php.ini from
http://localhost/xampp/phpinfo.php
Or you can create php file and write
phpinfo();
?>
After that run the script on your favorite browser. Then find these:
Loaded Configuration File :
You can see where is location php.ini. Now just uncomment extension=php_curl.dll and restart apache. Finally test your curl function and hopely it can working well on your computer.
xampp
No comments:
Post a Comment