Mobile app version of vmapp.org
Login or Join
Rambettina238

: Curl not working with PHP 5.4.6 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

@Rambettina238

Posted in: #Lighttpd #Php

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina238

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme