PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Oct 15, 2018 9:06 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Jul 29, 2015 5:47 am 
Offline
Forum Contributor
User avatar

Joined: Wed May 14, 2014 12:18 pm
Posts: 331
Hey guys , i was just playing around with CrouchDB and basically installed it from the following link:

http://couchdb.apache.org/#download

i am running crouchDB on win7 .

now i want to do one simple tasks, I.E. create a database using curl. I am basically following this tutorial http://guide.couchdb.org/editions/1/en/tour.html . but how do i run curl with crouch. Sounds simplistic i know, but to me its kind of daunting , can somebody guide me please.

Thanks.


Top
 Profile  
 
PostPosted: Wed Jul 29, 2015 6:21 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6424
Location: Montreal, Canada
Run cURL however you normally would. Call it from the command line, or from within a PHP script, or a Bash script, or wherever.

_________________
Supported PHP versions No longer supported versions


Top
 Profile  
 
PostPosted: Wed Jul 29, 2015 6:48 am 
Offline
Forum Contributor
User avatar

Joined: Wed May 14, 2014 12:18 pm
Posts: 331
was just reading this thread http://stackoverflow.com/questions/9507353/how-do-i-install-set-up-and-use-curl-on-a-windows , if you see the secound answer, the last line says .

Quote:
Finally, you can copy curl.exe into %windir% and it should become available on the command line.


What does that mean


Top
 Profile  
 
PostPosted: Wed Jul 29, 2015 7:32 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6424
Location: Montreal, Canada
I'd imagine it's the Windows system directory, which will vary slightly by version. I believe it's typically C:\Windows, but I haven't touched Windows in forever so don't quote me on it. Anywhere in your path should do.

_________________
Supported PHP versions No longer supported versions


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group