Installing PHP’s SSH2 extension on Ubuntu

On Ubuntu 10.04 LTS, Do this (there’s no need to do any compiling anymore)

apt-get install libssh2-1-dev libssh2-php

You can now test if PHP recognizes it’s new ssh2 extension by running:

php -m |grep ssh2

Don’t forget to restart Apache

service apache2 restart

6 thoughts on “Installing PHP’s SSH2 extension on Ubuntu

Leave a Reply to UsmanCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.