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

curl-and-php

Re: cURL 7.9.5 w/ PHP 4.1.2 and OpenSSL 0.9.6b

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Mar 2002 13:48:28 +0100 (MET)

On Tue, 26 Mar 2002, Erik Kratzenberg wrote:

> Hi folks. I have an installation of cURL 7.9.5 (with OpenSSL 0.9.6b)
> compiled into PHP 4.1.2 (also with OpenSSL 0.9.6b) and am having trouble
> getting it to retrieve pages over HTTPS in PHP. To simplify things, I'm
> currently using PHP as a CGI straight from the shell.

[snip]

> Any suggestions on how to solve or even how to get some information for
> debugging would be appreciated.

First a dislaimer: I am not a PHP hacker.

Others have mentioned that this might be because how both libcurl and PHP use
OpenSSL so there's something to do with how both init OpenSSL that causes
this.

You could try to not compile PHP with SSL and only let libcurl build with it.
Others have reported success doing this work-around.

I'm sorry that I don't have more or better info on this.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-27