Actions
Install SSH module for PHP webserver » History » Revision 3
« Previous |
Revision 3/5
(diff)
| Next »
Amber Herold, 05/07/2012 10:54 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:¶
- 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
- search for the ssh2 module, you should see this section:
Still having problems?¶
- 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 the Web Interface >
Updated by Amber Herold over 12 years ago · 3 revisions