Cannot Install Ssh2 on centos 7 with php version 5.6

108 views Asked by At

I'm trying to install Ssh2 on centos7 with php version 5.6.40 but i get this error :

WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update pecl/ssh2 requires PHP (version >= 7.0.0), installed version is 5.6.40

No valid packages found

install failed

I know that i need to update the php version in order for the ssh2 package to work but the application installed on the server requires php 5.6 to function correctly.

PS: i have another centos7 server running with the same config and ssh2 is already installed and working perfectly on it so i tried to copy the whole ssh2 directory to the new server but it didn't work.

Thank you for you help.

0

There are 0 answers