Menu

Home

Abhishek Gupta

How to install?

For UNIX based systems:-
1. sudo apt-get install -f libssh2-1-dev libssh2-php

  1. You can now test if PHP recognizes it's new ssh2 extension by running:

php -m |grep ssh2

It should return: 'ssh2'

  1. sudo apt-get install -f php5-dev php5-cli php-pear build-essential openssl-dev zlib1g-dev

  2. unzip the contents of the file downloaded from here
    phpize
    ./configure --with-ssh2
    make
    make install

  3. Finally you may want to copy the ssh2.so to your lampp directory

  4. In your php.ini add
    extension=ssh2.so

  5. Restart lampp and enjoy the library.

For usage of this library
http://php.net/manual/en/book.ssh2.php

Project Admins:


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.