Reputation: 14142
I have installed XAMPP on my Windows machine and have cURL enabled as this is shown within my phpinfo() document.
I am trying to run cURL directly from my command line - I understand how to add paths to the system environment but where is the cURL.exe located or am I missing a step?
Upvotes: 3
Views: 2353
Reputation: 7785
2 things completely different, in your PHP you can only use curl library described in this manual PHP CURL
On Windows OS, to use curl in command line you have to download and install/deploy curl package from this url CURL Windows Command
Upvotes: 3
Reputation: 943625
cURL is a library.
PHP has bindings for it, and XAMPP comes with those.
XAMPP does not come with the command line utility that uses that library. You will need to install it separately.
The cURL homepage links to a Windows version.
Upvotes: 3