#19121 [Fbk->Bgs]: fsockopen("tls:// .... fails without reason.

From: Date: Tue, 27 Aug 2002 13:32:51 +0000
Subject: #19121 [Fbk->Bgs]: fsockopen("tls:// .... fails without reason.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17933@lists.php.net to get a copy of this message
ID: 19121 Updated by: derick@php.net Reported By: mbabcock-php@fibrespeed.net -Status: Feedback +Status: Bogus Bug Type: Sockets related Operating System: Linux 2.2.14 PHP Version: 4.2.2 New Comment: Never mind that, just lose the tls:// and you can connect fine, but of course you need to send encrypted packets yourself. fsockopen opens a _socket_, not an URL. User error -> bogus Previous Comments: ------------------------------------------------------------------------ [2002-08-27 09:30:50] derick@php.net Where did you read PHP supports tls:// ? Derick ------------------------------------------------------------------------ [2002-08-27 09:24:09] mbabcock-php@fibrespeed.net I'm doing the following: $fp = fsockopen("tls://hostname.domain.com", 2080, $errno, $errstr, 30); if (!$fp) die ("Unable to connect: $errstr ($errno)"); ... its giving me "Unable to connect: (0)" every time (hostname.domain.com is a valid Internet host I administer). I'm running a "tcpdump -n port 2080" on the web server and there are no packets showing up at all. There are no messages in /var/log/(messages|daemon|kern) or in the Apache error_log. Any ideas? Feel free to connect to https://www.fibrespeed.net/phpinfo.php for information on my configuration. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19121&edit=1

« previous php.bugs (#17933) next »