How do I install Curl?
Hi,
[url]http://curl.haxx.se[/url]
wget [url]http://curl.haxx.se/download/curl-7.*6.0.tar.gz[/url]
tar -pxzf curl-7.*6.0.tar.gz
cd curl-7.*6.0
./configure --with-ssl
make
make install
ldconfig -v
Then use --with-curl in PHP's configure
For use with Perl use
[url]http://curl.haxx.se/libcurl/perl/[/url]
wget [url]http://curl.haxx.se/libcurl/perl/WWW-Curl-2.0.tar.gz[/url]
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
[url]http://curl.haxx.se/docs/sslcerts.html[/url]
Thanks & regards
Lokananth
[url=http://www.mioot.com/]Live Chat Software[/url] By miOOt