2

I'm trying to use Curl to send and receive XML information from my credit card company and it works great in a shared server (sandbox). However, now that I uploaded it to my dedicated server it does not work.

Below is the Curl information from my phpinfo file:

cURL support    enabled
cURL Information    7.19.7
Age  3
Features
AsynchDNS   No  
Debug   No
GSS-Negotiate   Yes
IDN         Yes
IPv6    Yes
Largefile   Yes
NTLM    Yes
SPNEGO  No
SSL     Yes
SSPI    No
krb4    No
libz    Yes
CharConv    No
Protocols   tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps
Host    i486-pc-linux-gnu
SSL Version GnuTLS/2.8.5
ZLib Version    1.2.3.3

I'm using lighttpd, do I need to add something in its config file?

  • What happens when you execute curl command? – Ali Hashemi Nov 21 '13 at 22:15
  • 1
    @MarceloSrougi If the question is resolved, please add it as an answer below and accept it when you can (alternatively you can delete the question). – dan Nov 22 '13 at 2:03
1

Solved adding curl_setopt( $curl, CURLOPT_SSLVERSION, 3);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.