SSH2 pecl

From Server Knowledge Base
Revision as of 12:27, 15 January 2013 by Rootadminacc (talk | contribs) (Created page with "Install development packages. <pre>apt-get install -y php5-dev php-pear</pre> Install the libssh packages. <pre>apt-get install -y libssh2-1 libssh2-1-dev # download + extr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Install development packages.

apt-get install -y php5-dev php-pear

Install the libssh packages.

apt-get install -y libssh2-1 libssh2-1-dev # download + extract package wget
tar -zxvf ssh2-0.11.3.tgz ; cd ssh2-0.11.3

Prepare the package for installed version of php phpize, configure package, make and install.

./configure ; make ; make install

Enable the module echo

"" > /etc/php5/conf.d/ssh2.ini

Restart apache

/etc/init.d/apache2 restart



yum install php-pecl-apc.x86_64

For Crypt:SSLEay, Net:SSL and SSLEay use this guide.