Re: secure sockets

From: Date: Thu, 25 Jul 2002 17:03:29 +0000
Subject: Re: secure sockets
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109544@lists.php.net to get a copy of this message
Richard Lynch wrote: > > $hostname = 'ssl://155.246.211.23'; > > You have to be running PHP 4.3.0 (IE, CVS or snapshot) to use 'ssl://' with > fsockopen, according to the manual. > > You may have to use cURL for now, or develop in 4.3.0 and deploy when it's > ready, or... I tried mucking around with cURL for a bit, but couldn't figure out a way to use encryption with telnet (not to mention that documentation/example code for the telnet feature is non-existant). So, I tried building the the latest snapshot of 4.3.0. Now when I try to use fsockopen(); with ssl:// I receive this message: Warning: fsockopen(): no SSL support in this build in /usr/home/research/htdocs/tests/secure2.php4 on line 6 I did include OpenSSL support...is there something else I need to include? --Josh Levine

« previous php.general (#109544) next »