Reputation: 23
I am using Laravel 5.4 on Windows 10. How to install PHP Curl on Windows and using it on Laravel?
Upvotes: 0
Views: 5161
Reputation: 41
Use the following steps to install curl:
Testing curl
NOTE: You can also directly copy the curl.exe file any existing path in your path
Upvotes: 0
Reputation: 111829
Usually all you need is finding php.ini
, find line with curl
for example:
;extension=php_curl.dll
remove ;
from the beginning of the line so it should look like this:
extension=php_curl.dll
Restart your webserver. Extension should be then available.
Be aware you might have multiple php.ini files (one for command line, one for web server), so make sure you are editing the correct file.
Upvotes: 1