Installer la libssh2 pour php

Utilisateur anonyme -  
zipe31 Messages postés 36402 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

Je souhaiterais installer la libssh2 pour php sur debian malheureusement les tutos d'internet ne fonctionnent pas, j'ai tenté de multiples solutions mais en vain...

Si quelqu'un pouvait m'expliquer comment faire, ca serait vraiment sympa !

Amicalement,
A voir également:

1 réponse

zipe31 Messages postés 36402 Date d'inscription   Statut Contributeur Dernière intervention   6 430
 
Salut,

jp@debian:~$ aptitude search libssh2
p   libssh2-1                                                       - SSH2 client-side library                                                 
p   libssh2-1-dbg                                                   - SSH2 client-side library (debug package)                                 
p   libssh2-1-dev                                                   - SSH2 client-side library (development headers)                           
p   libssh2-php                                                     - PHP Bindings for libssh2                                                 
p   python-libssh2                                                  - Python binding for libssh2 library                                       
v   python2.5-libssh2                                               -                                                                          
v   python2.6-libssh2                                               -                                                                          
                
jp@debian:~$ aptitude show libssh2-1
Paquet : libssh2-1                            
État: non installé
Version : 1.2.6-1
Priorité : optionnel
Section : libs
Responsable : Mikhail Gusarov <dottedmag@debian.org>
Taille décompressée : 221 k
Dépend: libc6 (>= 2.3), libgcrypt11 (>= 1.4.2), zlib1g (>= 1:1.1.4)
Description : SSH2 client-side library
 libssh2 is a client-side C library implementing the SSH2 protocol. It supports regular terminal, SCP and SFTP sessions; port forwarding;
 password, key-based and keyboard-interactive authentication. 
 
 This package contains the runtime library.

jp@debian:~$ aptitude show libssh2-php
Paquet : libssh2-php                          
État: non installé
Version : 0.11.0-2.1
Priorité : supplémentaire
Section : devel
Responsable : Martin Meredith <mez@debian.org>
Taille décompressée : 147 k
Dépend: ucf, libc6 (>= 2.2.5), libssh2-1 (>= 1.0), phpapi-20090626
Description : PHP Bindings for libssh2
 These bindings provide a method to utilise SSH connections with PHP
Site : http://pecl.php.net/package/ssh2

jp@debian:~$
1