cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

SSL disabled via PHP, but not from command line

From: Eric J Schwinder <eric_at_wasaba.com>
Date: Tue, 1 Oct 2002 02:49:07 -0400

I get this error when I try to use cURL to post to an https server
from a PHP script: "Error: libcurl was built with SSL disabled, https:
not supported!" But when I go to a command line, and connect to the
https: server using the curl command, it works just fine.

This lead me to believe that there are two different versions of curl
compiled on the server. From the command line, I used curl --version,
which produced this:

curl 7.9.8 (i386-redhat-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.6b)

I then brought up a phpinfo() page, scrolled down to the curl section,
and saw that it says "libcurl 7.9.4"

I am not the most experienced Linux admin, and this is a shared
hosting server... so maybe someone can suggest a way to resolve this,
and if need be, I will pass it on to my hosting provider. They're
very helpful, but I think I have them stumped with this one.

Thanks!

-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
Received on 2002-10-01