isputra

Well-Known Member
May 3, 2003
574
0
166
Mbelitar
Hi,

Can i install curl without using buildapache ?
How ?

Regards
 

reddrake

Well-Known Member
Apr 2, 2003
79
0
156
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
 

wimp

Well-Known Member
Jul 13, 2002
301
0
166
Originally posted by coolbluenet
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:



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
 

maverick

Well-Known Member
Jan 6, 2003
68
0
156
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.
 

TogaDave

Well-Known Member
Apr 13, 2003
134
0
166
maverick said:
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.
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!
 

sv1

Well-Known Member
Aug 31, 2003
135
0
166
I also cannot get curl to install with ssl from easyapache or installing it manually. Anyone?
 

benito

Well-Known Member
Jan 8, 2004
417
21
168
Mar del Plata - Argentina
cPanel Access Level
Root Administrator
Twitter
reddrake said:
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
Hi!

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

reddrake

Well-Known Member
Apr 2, 2003
79
0
156
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
 

reddrake

Well-Known Member
Apr 2, 2003
79
0
156
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:
 

hostmedic

Well-Known Member
Apr 30, 2003
543
0
166
Washington Court House, Ohio, United States
cPanel Access Level
DataCenter Provider

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
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 ).
 

ps2wayne

Member
Nov 17, 2004
13
0
151
I have the same problem.. it just hangs on SSL connections.. any idea on how to fix this?
 

hostmedic

Well-Known Member
Apr 30, 2003
543
0
166
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