David Garcia
David Garcia

Reputation: 2696

Curl on windows + wamp for command line

I am kinda to new this curl business, I have WAMP and curl has been commented out on the php.ini so its working, however i thought that i could run from the command line something like

curl www.google.com or curl -o example.html www.example.com

to see the results in the command line, however it doesnt seem to be working, which command line are they refering to? i am trying to do it on the windows command line or can it only be done on linux

'curl' is not recognized as an i
operable program or batch file.

sorry for my noobiness

Upvotes: 1

Views: 2539

Answers (2)

Stefano Sanfilippo
Stefano Sanfilippo

Reputation: 33046

PHP ships with the DLL component only. You need to install the curl command line utility from cURL website.

Upvotes: 3

James Scholes
James Scholes

Reputation: 7906

curl isn't included with Windows. You'll need to download a Windows binary and put it somewhere in your PATH.

Upvotes: 1

Related Questions