Originally Posted by ultimatewebhost
Any of the following commands and you'll be fine;
yum install libssh2-devel
pecl install ssh2-beta
echo extension=ssh2.so >> /etc/php.ini
Now, you can restart your web server, and check a phpinfo page to verify the installation!
Make sure you perform these commands as root.
oh wow awesome i think this work i just used this-
php -i to check whether its done or not..
i get this-
SSH2 support => enabled
extension version => 0.11.3-dev
libssh2 version => 1.2
banner => SSH-2.0-libssh2_1.2
remote forwarding => enabled
hostbased auth => enabled
polling support => enabled
publickey subsystem => enabled
if this is proof its working
then i am happy then all