I need to be able to write a script which connects to an SFTP server to retrieve a file.
My searching led me to the conclusion that I need the PHP SSH2 extension installed on my server to make this work.
I'm following the guide here:
www.basezap.com
and am stuck on point 3, which says to run the command:
However, on doing so via terminal in WHM, I get the error message:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/ssh2 requires PHP (version >= 4.0.0, version <= 6.0.0), installed version is 7.3.30
No valid packages found
I am running Multi-PHP, and would like to install this extension on all versions that I have running - Can anyone help me with where to go next?
Thanks
My searching led me to the conclusion that I need the PHP SSH2 extension installed on my server to make this work.
I'm following the guide here:

Guide to install PHP SSH2 module on cPanel Server | BaseZap
Wondering how to install PHP SSH2 module on cPanel Server? This guide will show simple steps using which you can add PHP SSH2 module to your cPanel Server.

and am stuck on point 3, which says to run the command:
Apache config:
/usr/local/cpanel/3rdparty/bin/pecl install ssh2
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/ssh2 requires PHP (version >= 4.0.0, version <= 6.0.0), installed version is 7.3.30
No valid packages found
I am running Multi-PHP, and would like to install this extension on all versions that I have running - Can anyone help me with where to go next?
Thanks