Here are the steps to install the PHP SSH2 extention on RHEL 5.6 with the EPEL repository.
- Install packages that may be needed:
123yum install php-pear php-devel libssh2 libssh2-devel - Temporarily allow binary execution in /tmp
123mount -o remount,exec /tmp -
Install the extension:
123pecl install channel://pecl.php.net/ssh2-0.11.3 - Restore /tmp restrictions:
123mount -o remount,noexec /tmp - Reload apache:
123/sbin/service httpd reload




