What OS? Ted
>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Chuck Lidderdale >Sent: Monday, August 08, 2005 11:27 AM >To: openssl-users@openssl.org >Subject: SSL & PHP > > >My test as a cut'n paste right from the php web page. > > <?php > > $connection = ssh2_connect ('machine1.com', 22); > ssh2_auth_password ($connection, 'me', 'mypw'); > > $sftp = ssh2_sftp ($connection); > > $stream = fopen ("ssh2.sftp://$sftp/tmp/c1", 'r'); > ?> > >I get back: > *Fatal error*: Call to undefined function: ssh2_connect() in >*/var/www/html/tst.php* on line *3 > >I downloaded libssh2-0.11 (as I was told) config'ed, made, installed. >Still no ssh2_connect. I'm trying to get my php scripts to do ssh >internally and not >calling expect scripts. >Tks. >______________________________________________________________________ >OpenSSL Project http://www.openssl.org >User Support Mailing List openssl-users@openssl.org >Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]