Tag: Linux

Posted by kevin
January 5, 2010

2 Comments

How to install LibSSH2 on a CentOS 5 system

Libssh2 is a C library implementing the SSH2 protocol for PHP. Here’s how to get it installed on a CentOS system running PHP 5.1.6.
First step is to install some dependencies.

yum install automake php-devel libtool openssl-devel gcc++ gcc

Next, let’s download the latest release of libssh2 (1.2.2 at time of writing), unpack and install

# cd /tmp
# wget [...]