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
Related posts:
hi,
short and working =)
thx for it