Jump to content

[Ajuda] Instalando Ssh2 Modules


Grupo AMV

Recommended Posts

Instale o SSH2 digitando os passos a seguir no Shell

cd /tmp

wget http://www.libssh2.o...h2-1.2.2.tar.gz

tar -zxf libssh2-1.2.2.tar.gz

cd libssh2-1.2.2

./configure

make all install

cd ..

rm -rf libssh2-1.2.2

cd /usr/lib/php (para sistemas 64bists use /usr/lib64/php)

wget http://pecl.php.net/...ssh2-0.11.0.tgz

tar -zxf ssh2-0.11.0.tgz

cd ssh2-0.11.0

phpize && ./configure –with-ssh2 && make

cd modules

mv ssh2.so /usr/lib/php/modules/ssh2.so

cd /usr/lib/php

rm -rf ssh2-0.11.0

rm -f ssh2-0.11.0.tgz

Atualize o PHP ini adicionando a extensão.

vi /etc/php.ini

extension_dir = “/usr/lib/php/modules”

extension = ssh2.so

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?