[needs-packaging] php-ssh2

Bug #255085 reported by codeslinger
6
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
Ubuntu
Fix Released
Wishlist
Unassigned

Bug Description

affects php5.2.x in Ubuntu 8.04 (and possibly other versions)

The ssh2 module for php5 is not available. This is a very valuable and important module for php. Please add it to the package manager.

It was a major pain to install it by hand due to a bug in the php module. I suspect this bug is also the reason it was not already packaged since just about all of the other extensions seem to already have a package.

I did the research and found the fix to the bug. All that is needed is one small change and the extension will compile and install/run just fine.

See this link for details of the fix.
http://pecl.php.net/bugs/bug.php?id=11779

Revision history for this message
codeslinger (codeslinger) wrote :

this is a standard PECL extension under the php license
the source is here: http://pecl.php.net/package/ssh2

Revision history for this message
nulled (elitescripts2000) wrote :

I second the motion to add php5-ssh2

It opens the doors to so many powerful types of PHP apps. For instance, one can write a complete server management tool, connect thru ssh2_connect() in PHP locally OR remotely.

I am in the process now of writing PHP driven server management tools now. The possiblities are end less.

However, there are bugs in the ssh2 code itself, which makes it hard to easily create a deb package.

A problem, a seperate issue is that ssh2 does not seem to work with php5-cli or php5-cgi, in other words will not work with suphp either (since suphp relies on the use of php5-cgi )

ssh2 DOES work with the mod_php5 for apache, at least.

Anyone interested in pushing this forwards, needs to contact the libssh2 and php-ssh2 maintainers to fix their bugs, (before a deb package can be created)

+php5-ssh2 (apache2_mod_php AND php5-cgi AND php5-cli)

Revision history for this message
codeslinger (codeslinger) wrote :

yes I agree that php-ssh2 is buggy and a lot of it's functionality does not work properly. But it is possible to work around these issues. I don't see how the bugs in ssh2 affect the ability to create a package for it.

I do use php-ssh2 extensively with the php-cli on MS Windows.

Since my php app is designed/intended to be cross platform I really need to have ssh2 on Ubuntu as well. Otherwise how can I extol the virtues of Ubuntu??

Eh Gad, how can it be that Ubuntu can't run php as well as it runs on Windows!?!?

Revision history for this message
Stas Sușcov (sushkov) wrote :

Any chance to get it in repos to the next LTS?
:-/

Revision history for this message
Stas Sușcov (sushkov) wrote :
Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

Seems it is in debian sid as of 2009-03-07

http://packages.qa.debian.org/p/php-ssh2.html

So it probably needs to be synced over from debian, may need an FFe

Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

Setting this bug to "Fix Committed", this package will be auto synced during the Karmic cycle, unless someone else would like to jump in and submit a Feature Freeze Exception.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :
Changed in ubuntu:
status: Fix Committed → Fix Released
Changed in debian:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.