Project

General

Profile

Install SSH module for PHP » History » Version 2

Neil Voss, 05/27/2010 02:55 PM

1 1 Neil Voss
h1. Install SSH module for PHP
2
3
h1. Configure web server to submit jobs
4
5
h2. Install the php-ssh2 extension
6
7
|_.Name:|_.Download site:|_.CentOS package name|_.Fedora package name|_.SuSE rpm name|
8
|SSH PECL extension|http://www.php.net/manual/en/ssh2.installation.php | |php-pecl-ssh2| |
9
10
11
12
bq. For newer systems the extension is available through the repository, e.g., on Fedora 12 type "@sudo yum install php-pecl-ssh2@"
13
14
This enables an ssh session initialized from appionweb
15
# Download and install the ssh2 extension for php as instructed at its download site:
16
* http://www.php.net/manual/en/ssh2.installation.php
17
    Install openssl and compile libssh first before compiling php-ssh2 extension. Once you get the final ssh2.so, add it in your php.ini
18
19
The extension module is added to php in the same way as does the php-mrc module we distribute for the viewing mrc images through php.  To check whether it worked and for alternative way to make php recognize the module used in newer php, see http://emg.nysbc.org/documentation/leginon/bk02ch04s07.php under the section *Check php information* and *Alternative approach if mrc module does not show up in info.php output*
20
_______
21
22
[[Setup job submission server|< Setup job submission server]] | [[Configure web server to submit jobs|Configure web server to submit jobs >]]
23
24
_______