3

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?

0

2 Answers 2

3

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

0
3

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.

4
  • 2
    @RiggsFolly — No, they want to use the standalone curl executable. That's why they mentioned curl.exe
    – Quentin
    Jan 25, 2016 at 9:33
  • Woops yes it looks like you are correct, beg pardon
    – RiggsFolly
    Jan 25, 2016 at 9:34
  • Sorry i probably wasn't clear - i wish to use curl executable (without the PHP) I probably didn't phrase it the best
    – Zabs
    Jan 25, 2016 at 9:34
  • @Zabs No it was probably me not engaging brain before starting my computer
    – RiggsFolly
    Jan 25, 2016 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.