The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

install curl without buildapache

Discussion in 'EasyApache' started by isputra, Nov 15, 2003.

  1. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Hi,

    Can i install curl without using buildapache ?
    How ?

    Regards
     
  2. reddrake

    reddrake Well-Known Member

    Joined:
    Apr 2, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wisconsin,Usa
    Yes you can :) I actually see that buildapache doesn't install it correctly as well.
    Do the following:
    wget http://curl.haxx.se/download/curl-7.10.8.tar.gz
    gzip -d curl-7.10.8.tar.gz
    tar -xvf curl-7.10.8.tar
    cd curl-7.10.8 (The directory may not be named that check if don't work)
    ./configure
    make
    make install

    Your done :) Curl with ssl has been built to your system

    Regards,
    Brian
     
  3. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Thanks, i will try it :)
     
  4. coolbluenet

    coolbluenet Active Member

    Joined:
    Apr 23, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middlesbrough, UK
    Did this work? I have installed it. Do you have to do anything in WHM? Do I have to do anything else for it to work as its not showing up??
     
  5. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Yes, works for me :D
     
  6. coolbluenet

    coolbluenet Active Member

    Joined:
    Apr 23, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middlesbrough, UK
    where does cURL install to? What would be the path? I am very confused as there are no clues on how to install it on there site??

    Some one please help....:confused:
     
  7. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16



    same here .. I would be interested to install it without buildapache. What about /.configure ? does it configure itselve or have i to do it ?

    thanks
     
  8. maverick

    maverick Well-Known Member

    Joined:
    Jan 6, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    It does indeed seem that a recent cPanel update did recompile curl (as in the command line version) without SSL enabled (strange because by default curl is compiled with SSL enabled, so why a cPanel update would explicitly disable this functionality is a mystery to me). This caused problems for a number of customers that rely on curl (with SSL) for connection to payment gateways.

    The manual recompile of curl as described by reddrake above worked well for us (thanks!). By default curl was placed in the /usr/local/bin/ directory, however, while curl is normally located in /usr/bin/. All I did was shift the executable from /usr/local/bin/curl to /usr/bin/curl and this seemed to work fine.

    Mav.
     
  9. TogaDave

    TogaDave Well-Known Member

    Joined:
    Apr 13, 2003
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    reddrakes solution helped me to install it too! but I wish knew what you meant about shifting the executable, because Whois.Cart's pre-install test is still telling me that I don't have Curl installed, even though I just followed raddrakes directions and it installed fine.

    Thanks a ton guys!
     
  10. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    to be on the safe side, install it twice.

    once you've done it the first time,

    ./configure --prefix=/usr
    make clean
    make
    make install
     
  11. sv1

    sv1 Well-Known Member

    Joined:
    Aug 31, 2003
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    I also cannot get curl to install with ssl from easyapache or installing it manually. Anyone?
     
  12. benito

    benito Well-Known Member

    Joined:
    Jan 8, 2004
    Messages:
    296
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mar del Plata - Argentina
    Hi!

    Installed by this way, is the same as "compiled in apache" like some php script wants ?
     
  13. reddrake

    reddrake Well-Known Member

    Joined:
    Apr 2, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wisconsin,Usa
    Yes, just besure to get the latest address for wget. I think buildapache is effective now , only way to test this is to uninstall my current curl


    Regards,
    Brian
     
  14. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    how to uninstall curl

    how do you uninstall the curl installed via this method
     
  15. reddrake

    reddrake Well-Known Member

    Joined:
    Apr 2, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wisconsin,Usa
    I was unable to locate any documentation on uninstalling curl. However I would recommend searching httpd.conf for any curl references and then deleting the files [Find Curls directory whereis curl]

    I see no reason to uninstall curl but have at it.


    Thanks,
    Brian :cool:
     
  16. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
  17. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    You may be able to uninstall by changing to the source directory you installed from and typing "make uninstall" as long as the makefile supports this ( check the Makefile ).
     
  18. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    amazing how easy that was

    Amazing how easy that was
    thanks

    the make uninstall worked
     
  19. ps2wayne

    ps2wayne Member

    Joined:
    Nov 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem.. it just hangs on SSL connections.. any idea on how to fix this?
     
  20. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    quick ? first

    did you install via the method described above?

    if so go into your install directory and then do make uninstall


    then go and recompile apache with the appropriate settings including curl
    and you should be fine -

    pm me if your lost
     
Loading...

Share This Page