Ubuntu 16.04 - Install PHP SSH2 Extension

Installing PHP with the SSH2 extension for PHP 7.0 in Ubuntu 16.04 is as easy as:

sudo apt-get install php7.0-cli -y
sudo apt-get install libssh2-1 php-ssh2 -y

No need to install through PECL.

Author

Programster

Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites. More info.