ID: 46644 User updated by: brian dot bream at comcast dot net Reported By: brian dot bream at comcast dot net -Status: Feedback +Status: Open Bug Type: cURL related Operating System: Solaris 10 08/07 x86 PHP Version: 5.2CVS-2008-11-24 Assigned To: jani New Comment:
# rm config.cache ; ./configure --disable-all --disable-cgi --with-curl=/usr/local/ # make clean && make # sapi/cli/php your_test_script_here.php Works as expected, the CLI has always worked. Added basic functionality to support web server ops. './configure' '--with-apxs2=/usr/apache2/bin/apxs' '--with-config-file-path=/etc/apache2' '--with-openssl=shared,/usr/sfw/' '--with-curl=/usr/sfw/bin/' '--with-pdo-mysql=shared,/opt/csw/mysql5/' Same issue. Rebuilt openssl, same issue. Sent config.log Previous Comments: ------------------------------------------------------------------------ [2008-11-24 13:29:57] [EMAIL PROTECTED] I can not reproduce this on any of my servers. I have Curl 7.18.2 and openssl 0.9.8g. I don't have any shared extensions messing things up so can you try first with the simplest possible configure line: # rm config.cache ; ./configure --disable-all --disable-cgi --with-curl=/usr/local/ # make clean && make # sapi/cli/php your_test_script_here.php ------------------------------------------------------------------------ [2008-11-24 12:44:06] brian dot bream at comcast dot net sent to [EMAIL PROTECTED] ------------------------------------------------------------------------ [2008-11-24 12:23:57] [EMAIL PROTECTED] Can you send that script to me so I can test myself? ------------------------------------------------------------------------ [2008-11-24 11:14:58] brian dot bream at comcast dot net bash-3.00# php -f curl_test.php * About to connect() to secure.authorize.net port 443 (#0) * Trying 64.94.118.33... * connected * Connected to secure.authorize.net (64.94.118.33) port 443 (#0) * successfully set certificate verify locations: * CAfile: /var/tmp/cacert.pem CApath: none * SSL connection using RC4-MD5 * Server certificate: * subject: C=US, ST=Utah, L=American Fork, O=Authorize.Net Corp., OU=Authorize.Net Corp., CN=secure.authorize.net * start date: 2007-04-06 00:00:00 GMT * expire date: 2009-04-11 23:59:59 GMT * common name: secure.authorize.net (matched) * issuer: C=ZA, O=Thawte Consulting (Pty) Ltd., CN=Thawte SGC CA * SSL certificate verify ok. > GET / HTTP/1.1 Host: secure.authorize.net Accept: */* < HTTP/1.1 200 OK < Server: Microsoft-IIS/5.0 < Content-Location: https://secure.authorize.net/index.htm < Date: Mon, 24 Nov 2008 11:11:57 GMT < Content-Type: text/html < Accept-Ranges: bytes < Last-Modified: Wed, 05 May 2004 10:32:44 GMT < ETag: "06ee34c8c32c41:2c4c" < Content-Length: 320 < * Connection #0 to host secure.authorize.net left intact <pre>Array ( [url] => https://secure.authorize.net [content_type] => text/html [http_code] => 200 [header_size] => 284 [request_size] => 59 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.412856 [namelookup_time] => 0.059205 [connect_time] => 0.114765 [pretransfer_time] => 0.257572 [size_upload] => 0 [size_download] => 320 [speed_download] => 775 [speed_upload] => 0 [download_content_length] => 320 [upload_content_length] => 0 [starttransfer_time] => 0.412811 [redirect_time] => 0 ) </pre>Errors: 0 <br><br>* Closing connection #0 HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Content-Location: https://secure.authorize.net/index.htm Date: Mon, 24 Nov 2008 11:11:57 GMT Content-Type: text/html Accept-Ranges: bytes Last-Modified: Wed, 05 May 2004 10:32:44 GMT ETag: "06ee34c8c32c41:2c4c" Content-Length: 320 <html> <HEAD><TITLE>Authorize.Net</TITLE> <META NAME="Authorize.Net -- Enabling more businesses to process transactions worldwide"> </HEAD> <FRAMESET ROWS="100%,*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0> <FRAME NAME="top" SRC="https://Account.authorize.net/ui/themes/anet/merch.app" NORESIZE> </FRAMESET> >From Browser Array ( [url] => https://secure.authorize.net [http_code] => 0 [header_size] => 0 [request_size] => 0 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0 [namelookup_time] => 0.036851 [connect_time] => 0.092135 [pretransfer_time] => 0 [size_upload] => 0 [size_download] => 0 [speed_download] => 0 [speed_upload] => 0 [download_content_length] => 0 [upload_content_length] => 0 [starttransfer_time] => 0 [redirect_time] => 0 ) Errors: 35 error:80089077:lib(128):func(137):reason(119) EOF ------------------------------------------------------------------------ [2008-11-24 09:26:50] [EMAIL PROTECTED] Does it work using the PHP CLI binary? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/46644 -- Edit this bug report at http://bugs.php.net/?id=46644&edit=1