The Most Active and Friendliest
Affiliate Marketing Community Online!

“AdsEmpire”/  Direct Affiliate

How do I install Curl?

gilbertsavier

New Member
affiliate
Hello,
cURL and libcurl

wget http://curl.haxx.se/download/curl-7.16.0.tar.gz
tar -pxzf curl-7.16.0.tar.gz
cd curl-7.16.0
./configure --with-ssl
make
make install
ldconfig -v

Then use --with-curl in PHP's configure

For use with Perl use
libcurl - the Perl Binding

wget http://curl.haxx.se/libcurl/perl/WWW-Curl-2.0.tar.gz
tar -pxzf WWW-Curl-2.0.tar.gz
cd WWW-Curl-2.0
perl Makefile.PL
make
make install


#######
We also had problems usign Curl to talk to a new geotrust cert, curl did not recognise the CA signing authority. Using the command line -k will not worry about the signing auth in PHP use curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);

In the end Geotrust supplied a cert

This needed to be appended onto
/usr/local/share/curl/curl-ca-bundle.crt

Also refer to
cURL - Details on Server SSL Certificates
 
nstructions to install CURL:
  1. cd /usr/local/src
  2. wget curl.haxx.se/download/curl-7.19.0.tar
  3. tar zxf curl-7.19.0.tar.gz
  4. cd curl-7.19.0
  5. ./configure –prefix=/usr/local –with-ssl=/usr/include/openssl
  6. make
  7. make install

CURL should now be installed.
 
It may be better to do a yum install curl ?

This way anything else that needs registering will be done.

Also have you tried using webmin on your server? Its VERY handy for installing small extras to the server.
 
MI
Back