/ March 2016 ~ TI-UNPAM Angkatan18

Selamat Datang di Website Kelas TPLEI-Teknik Informatika UNPAM Angkatan XVIII

Universitas Pamulang

Pages

Tuesday, March 1, 2016

Installing SSH2 extension for PHP on Centos 6

Installing the SSH2 PHP extension on CentOS is actually pretty simple. Although it isn’t available as a straight yum install, it boils down to a few short steps.Firstly, we’re going to install the dependencies:yum install gcc php-devel php-pear libssh2 libssh2-devel These will allow us to build the SSH2 extension using pecl.pecl install -f ssh2 After running that command, it should stop at a line like:WARNING: channel "pecl.php.net" has...