wget http://surfnet.dl.sourceforge.net/sourceforge/libssh2/libssh2-1.0.tar.gz
tar -zxvf libssh2-1.0.tar.gz
cd libssh2-1.0/
(./configure, make all install)
After you install libssh, remember to install the PECL module:
pecl install -f ssh2
and modify your php.ini to include the following beneath Dynamic Extensions
extension=ssh2.so
You’ll probably need to restart Apache afterwards:
/etc/init.d/apache2 restart
sftp for wordpress
Jun, 15 -- Categories: Linux