#46644 [Opn]: https cURL failure
| From: | brian dot bream at comcast dot net | Date: | Mon, 24 Nov 2008 04:21:59 +0000 |
| Subject: | #46644 [Opn]: https cURL failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131244@lists.php.net to get a copy of this message | ||
ID: 46644
User updated by: brian dot bream at comcast dot net
Reported By: brian dot bream at comcast dot net
Status: Open
Bug Type: cURL related
Operating System: Solaris 10 08/07 x86
PHP Version: 5.2.6
New Comment:
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr/local
checking for cURL 7.10.5 or greater... libcurl 7.19.2
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... gcc -E
checking for openssl support in libcurl... yes
checking for openssl/crypto.h... (cached) yes
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... (cached) yes
checking for curl_version_info in -lcurl... (cached) yes
checking for curl_easy_strerror in -lcurl... (cached) yes
checking for curl_multi_strerror in -lcurl... (cached) yes
Previous Comments:
------------------------------------------------------------------------
[2008-11-24 04:10:06] brian dot bream at comcast dot net
As directed, installed "Please try using this CVS snapshot"
The error persists.
------------------------------------------------------------------------
[2008-11-23 22:53:23] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2008-11-22 16:31:18] brian dot bream at comcast dot net
Description:
------------
Attempts to use cURL to an https site fails from within php, functions
properly from the command line. cURL to an http site works in both
locations.
'./configure' '--with-apxs2=/usr/apache2/bin/apxs' '--enable-dbase'
'--with-libxml-dir=/usr/local' '--with-config-file-path=/etc/apache2'
'--with-mysql=shared,/opt/csw/mysql5'
'--with-mysqli=shared,/opt/csw/mysql5/bin/mysql_config'
'--with-xpm-dir=/usr' '--with-gd' '--with-bz2=/usr/lib'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib'
'--enable-mbstring' '--enable-calendar' '--enable-bcmath'
'--enable-ftp'
'--enable-exif' '--with-openssl=shared,/usr/sfw'
'--with-curl=/usr/local/bin/'
'--with-pdo-mysql=shared,/opt/csw/mysql5/'
phpinfo at http://preferredsystems.com/phpinfo.php
Expected result:
----------------
A successful https connection to any site.
Actual result:
--------------
A curl test to an https site returns: Errors: 35
error:80089077:lib(128):func(137):reason(119)
This test was run at http://preferredsystems.com/curl_test.php
making a
call to https:secure.authorize.net
From the command line it works properly
bash-3.00# curl -v https://secure.authorize.net
* About to connect() to secure.authorize.net port 443 (#0)
* Trying 64.94.118.32... connected
* Connected to secure.authorize.net (64.94.118.32) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /var/tmp/cacert.pem
CApath: none
* SSLv2, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
.....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46644&edit=1