Closed (works as designed)
Project:
Plugin Manager
Version:
6.x-1.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2008 at 22:55 UTC
Updated:
3 Oct 2010 at 09:16 UTC
I'm willing to write some docs for this module if you will outline what is going on....
ssh does not appear as an option for me: why?
Comments
Comment #1
jabapyth commentedAs per the FAQ, the SSH option only appears if you have the required PHP libraries installed. In my experience, most PHP installs do not have the SSH libraries.
Comment #2
jabapyth commentedchanging status
Comment #3
naheemsays commentedMaybe in the situation there are not multiple backends available, it would be a good idea to not show a dropdown box?
Comment #4
amedee-1 commentedCould someone please tell what the so called "required PHP libraries" are?
I didn't find anything in the FAQ. More details please!
Comment #5
amedee-1 commentedI was finally able to install the SSH2 libraries for PHP.
You have to manually build it, but before building you have to apply the patch described on this page:
http://hostechs.com/2008/07/installing-ssh2-module-in-php-make-ssh2lo-er...
It's not really a Plugin Manager issue per se, but I'm posting it here so that others can benefit. I think otherwise it would be difficult to find (took me about 3 hours)
Comment #6
crashtest_ commentedI was able to do so without manually building the library. I documented it here: http://patrickteglia.com/blog/making-plugin-manager-work-slicehost-ubunt...
However the short of it is that you install the following:
sudo aptitude install libssh2-1-dev
sudo pecl install http://pecl.php.net/get/ssh2-0.11.0.tgz
sudo apt-get install openssl
Then you need to add the following line to the bottom of /etc/php5/apache2/php.ini or whereever your active php.ini is:
extension=ssh2.so
Then of course you need to restart your web server with a quick
sudo /etc/init.d/apache2 restart
and you should be good to go. Check your /admin/plugin_manager/settings page and see if you now have a SSH section.
Comment #7
jdwfly commentedJust in case anyone else runs into this. I am using Ubuntu 9.04 and all I had to do was:
Then I restarted my apache2 and it was good to go.
Comment #8
bb42 commentedIn the case of Debian (lenny) the package that brings up the SSH option is different: libssh2-php
This had to be installed from the "backports", it's not part of the "stable" packages.
To activate the backports - which might make sense in other cases as well, read:
http://backports.debian.org/Instructions/
The package can now be installed with:
aptitude -t lenny-backports install libssh2-php
The SSH option is offered now, after restarting apache, anyhow I got new error messages:
http://drupal.org/node/929760