ID:               15862
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         cURL related
 Operating System: Freebsd 4.3
 PHP Version:      4.1.2
 New Comment:

Oops, I mistyped email address on last comment.

Steve


Previous Comments:
------------------------------------------------------------------------

[2002-04-11 07:01:11] [EMAIL PROTECTED]

The problem happens on Linux 2.4.15-pre8, PHP 4.1.2, CURL 7.8.1,
openSSL 0.9.6

For me the problem is on a commercial hosted site so I can't recompile
or change anything. If you are able to recompile and install things,
try getting the latest cURL source release, (7.9.5 as of today). If it
still happens with that version of CURL, then add some debug-printf
statements into curl/lib/ssluse.c before the call to
SSL_CTX_new(req_method) to see what value of req_method is being
passed. The context error string is printed out right after this
function call.

Steve

------------------------------------------------------------------------

[2002-03-04 13:46:54] [EMAIL PROTECTED]

When attempting to use cURL over https, php returns the 
error: "SSL: couldn't create a context!"

Command-line operation in cURL works without error.

A similar situation was reported, and reportedly fixed, in 
4.1.1 CVS, but it has re-appeared in 4.1.2 release. The 
earlier problem was apparently related to compiling SSL 
into both PHP and cURL; I re-complied PHP without SSL but  
the problem persists.

Any work-arounds will be greatly appreciated.

--
Matt Daly

 ./configure 
--with-apxs=/usr/local/sbin/apxs 
--with-curl 
--with-config-file-path=/usr/local/etc 
--enable-versioning 
--with-system-regex 
--disable-debug 
--enable-track-vars 
--with-gd=/usr/local 
--with-ttf=/usr/local 
--with-zlib 
--with-mcrypt=/usr/local 
--with-mhash=/usr/local 
--with-mysql=/usr/local 
--with-xml=/usr/local 
--enable-ftp 
--with-gettext=/usr/local 
--enable-sockets 
--enable-trans-sid 
--prefix=/usr/local  



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15862&edit=1

Reply via email to