Felipe Pinheiro Posted May 26, 2015 Share Posted May 26, 2015 Olá a todos, Alguém sabe habilitar o php_ssh2 no cpanel ? peguei alguns tutoriais pela internet porem sem sucesso com as configurações! 0 Quote Link to comment Share on other sites More sharing options...
Gabriel Cardoso Posted May 26, 2015 Share Posted May 26, 2015 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 1 Quote Link to comment Share on other sites More sharing options...
Anger Posted May 27, 2015 Share Posted May 27, 2015 Se tiver cloudlinux, ativa o seletor php do cagefs e seja feliz... 0 Quote Ajude o fórum! Antes de postar, leiam as regras de postagem aqui. Link to comment Share on other sites More sharing options...
Recommended Posts
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.