Project

General

Profile

Actions

Install SSH module for PHP webserver » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Amber Herold, 05/07/2012 10:53 AM


Install SSH module for PHP

This installation occurs on the web server.

The ssh2 extension for php

If you have not already done so, install the following prerequisites:

Name: Download site: CentOS yum package name Fedora yum package name SuSE rpm name
php devel http://www.php.net php-devel php-devel
libssh2 devel http://www.libssh2.org libssh2-devel (found in epel repo) libssh2-devel
SSH PECL extension http://www.php.net/manual/en/ssh2.installation.php php-pecl-ssh2 php-pecl-ssh2
sudo yum install php-pecl-ssh2 php-devel libssh2-devel

Test that the module is working:

  1. go to the info.php that was created earlier in the Install the MRC PHP Extension, http://localhost/info.php or http://HOST.INSTITUTE.EDU/info.php
  2. search for the ssh2 module, you should see this section:

Still having problems?

  1. on one machine restarting httpd was not enough, I had to restart the entire system to get it working (even though it shows up under info.php)


< Install the MRC PHP Extension | Install phpMyAdmin >


Updated by Amber Herold over 12 years ago · 2 revisions