Feb
6
2013

Installing PHP’s SSH2 extension on Ubuntu

 

 

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

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

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

1
php -m |grep ssh2

Don’t forget to restart Apache

1
service apache2 restart


Leave a comment

You must be logged in to post a comment.




Member Area