Jump to content

Instalar ssh2 novo cpanel/whm


edinaldo

Recommended Posts

Olá pessoal, tudo bem?

Alguém poderia me ajudar instalar o SSH2 nesta nova versão do cpanel? Não está funcionando por exemplo este tutorial: 

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

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

Me retorna: -bash: pecl: command not found

Link to comment
Share on other sites

Tente assim..

1.

yum install gcc php-devel php-pear libssh2 libssh2-devel make

2.

pecl install -f ssh2

3.

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

4.

service httpd restart

5. Aqui vai verificar se ocorreu tudo bem

php -m | grep ssh2

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

Link to comment
Share on other sites

Já tentou ver seu PHP ? Parece que ele ta desatualizado.

Antes, tente fazer o seguinte: Modules installers > PHP extensions and applications package > manage e veja se o pecl está mesmo presente..

Tente também  yum update php

 

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

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.
Note: Your post will require moderator approval before it will be visible.

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