how to install libssh2 on Centos + pecl
- by solid
I use phing as a deployment tool on CentOS and I'd like to use the SshTask, which required libssh2 to be installed.
I tried "pecl install ssh2" but that asks me for a libssh2 prefix [/usr?]
I noticed that this means I need to install libssh2 first, but yum does not have that package.
So my question is: what is the best way to install libssh2 on Centos and then install the pecl extension?