Jump to content
Sign in to follow this  
Felipe Pinheiro

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

  • Like 1

Hex Host - Hospedagem de Sites com Qualidade e Segurança !

Share this post


Link to post
Share on other sites

Se tiver cloudlinux, ativa o seletor php do cagefs e seja feliz...


Ajude o fórum! Antes de postar, leiam as regras de postagem aqui.

Share this post


Link to post
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.

Guest
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.





×
×
  • Create New...