Doesen't that version of PHP no longer ship with PHP extensions?  I
think you have to add those in separately?  See the PHP site for more
details.

Ted

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Chuck Lidderdale
>Sent: Monday, August 08, 2005 3:08 PM
>To: openssl-users@openssl.org
>Subject: Re: SSL & PHP
>
>
>Ted Mittelstaedt wrote:
>
>>What OS?
>>
>>Ted
>>  
>>
>Sorry bout that: 
>    RH Linux -
>    PHP 5.0.4
>    OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
>
>
>>  
>>
>>>-----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]

Reply via email to