Home » Questions » Computers [ Ask a new question ]

PHP: libssh2 prefix on Ubuntu 9.10?

PHP: libssh2 prefix on Ubuntu 9.10?

So I decided to install the libssh2 library using PECL.

Asked by: Guest | Views: 193
Total answers/comments: 1
Guest [Entry]

"Ensure you have the libssh2 development package installed, via:

sudo aptitude install libssh2-1-dev

The PECL installer should then find the necessary files fine.

Alternatively, you could install libssh2-php, the PHP bindings for libssh2. Installing this package will install all the necessary dependencies (including libssh2-1):

sudo aptitude install libssh2-php"