CentOS PHP SSH2 Kurulum

Help Topics
Yüklemek için ssh komutları: (http://www.libssh2.org/ buradan son güncel sürüm linki alınır) 54 yazan yer php sürümüdür. php -v ile sürüm bulunabilir.
yum -y install php54-devel gcc libssl libgcrypt openssl openssl-devel make

SSH2 yi kurmadan önce libssh2 yi kurmamız gerekmekte bunun için aşağıdaki adımları takip edin.

mkdir libssh2
cd libssh2
wget http://www.libssh2.org/download/libssh2-1.2.7.tar.gz
tar -zxpf libssh2-1.2.7.tar.gz
cd libssh2-1.2.7
./configure
make all install
service httpd restart

libssh2 kurulumu tamamlandı.

mkdir ssh2
cd ssh2
wget http://pecl.php.net/get/ssh2-0.11.2.tgz
tar -xvf ssh2-0.11.2.tgz
cd ssh2-0.11.2
phpize
./configure --with-ssh2
make
make install
echo 'extension="ssh2.so"' >> /etc/php.ini
make test
service httpd restart
6.353 Views
07.08.2015

Comments

Let us move you to Yöncü!

Contact us for fast transfer of your services from other providers to our company with 24/7 fast support.

Transfer Form

Transaction Confirmation

Are you sure you want to perform this transaction?