Jump to content

Habilitar SSH2

Recommended Posts

Iremos instalar:

# yum install gcc php-devel php-pear libssh2 libssh2-devel
# pecl install -f ssh2

Caso apareça “libssh2 prefix? [autodetect] :” aperte Enter e execute:

# touch /etc/php.d/ssh2.ini
# echo extension=ssh2.so > /etc/php.d/ssh2.ini

Caso não consiga com os comandos acima digite:

# mkdir /etc/php.d/
# echo extension=ssh2.so > /etc/php.d/ssh2.ini

De um restart no HTTPD e teste para ver se está funcionando.

# /etc/init.d/httpd restart
# php -m | grep ssh2

Pronto, seja feliz icon_smile.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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

Important Information

Do you agree with our terms?