Closed ibasaw closed 6 years ago
If this will not bring something up
apt-cache search php | grep ssh
then something like this should do the trick:
sudo apt-get install libssh2-1 libssh2-1-dev
sudo pecl install ssh2 channel://pecl.php.net/ssh2-0.12
Oh yes, is see PHP7 - havent tried it with v7 yet. Please try for us then :)
pecl install ssh2 channel://pecl.php.net/ssh2-0.12
Failed to download pecl/ssh2 within preferred state "stable", latest release is version 0.12, stability "beta", use "channel://pecl.php.net/ssh2-0.12" to install pecl/ssh2 requires PHP (version >= 4.0.0, version <= 6.0.0), installed version is 7.0.2-1~dotdeb+8.1 No valid packages found install failed
@CaredduMattia : don't work for me, error in compil
Currently the PHP7 supported by 1.0 (Alpha) only. So use
pecl install ssh2 channel://pecl.php.net/ssh2-1.0
or download the source http://pecl.php.net/get/ssh2-1.0.tgz and use
pecl install ssh2 /home/you/ssh2-1.0.tgz
hot to install the dependency extension ext-ssh2 on debian 8 ?