SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Sep 2009
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How do I install cURL?

    I'm trying to better understand angular.js but first I need to understand REST which requires that I better understand HTTP and every tutorial I've read recommends cURL. So now I'm trying to figure out how to install cURL on OSX and I've only used terminal a few times (I'm actually more comfortable with DOS).

    I'm currently referring to these instructions but - http://curl.haxx.se/docs/install.html - but it's rather vague and assumes a lot of details.

    Any other suggestions on how to install cURL?

  2. #2
    SitePoint Member
    Join Date
    Dec 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What happens when you just open a terminal and just execute "curl -V" or just "curl" ?
    Attacker.NET
    Server Management.:.Security Hardening & Much more!
    Certified Information Security Professionals
    E-mail: sales@attacker.net | http://attacker.net

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    rpeg,

    cURL is a part of PHP (http://www.php.net/manual/en/book.curl.php) so you'll need to install a test server so you can use this version of cURL.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    No, curl isn't a part of php it is a GNU utility. PHP has a php-curl module though.

    As for installation you probably don't want to install from source in general -- package management is pretty vastly superior these days. Not that you need to -- it is on macs by default, or at least was on the one I had handy with mavericks running on it.

    All that said, if you want a command line http client I would use httpie -- https://github.com/jkbr/httpie, it is vastly superior.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •