go to bug id or search bugs for
We are stuck on PHP 7.1 with no stable SSH2 extension in the PECL repository.
Since PHP has direct documentation for using PHP with a number of SSH functions, it is strange that this isn't being kept up. I also wonder why this isn't a standard extention in PHP since the base php download contains the libssh2.dll. But you cannot actually use the functions without the extension in PECL.
To be able to use the functionality found here:
No functionality because no extension is found compatible with any current version of PHP.
Add a Patch
Add a Pull Request
> We are stuck on PHP 7.1 with no stable SSH2 extension in the
> PECL repository.
Well, there are DLLs of PECL/ssh2 1.1.2 available for PHP 7.0, 7.1
and 7.2. 1.1.2 doesn't work with PHP 7.3, but it seems these
issues have already been resolved in the repo, so maybe just a
new release is missing.
> I also wonder why this isn't a standard extention in PHP since
> the base php download contains the libssh2.dll.
libssh2.dll is required by CURL and maybe other bundled extensions.
Yes, now PHP 7.2 is listed, PHP 7.3 is the only one unavailable.
However, there is no stable build as all of the PHP 7.x builds show on the PECL sitr as ALPHA.
yeah, I worked yesterday on some fix to the OpenSSL 1.1.x compatibility, so the latest 7.2 compatible release could be built. For 7.3, the current master seems at least to build, but it's not released yet. Please fetch the latest master snapshots here https://windows.php.net/downloads/pecl/snaps/ssh2/1.2-dev/ . With this, the Windows builds availability question should be solved. Other things like the release cycle of ext/ssh2 are out of scope of this ticket.
While using the snapshot version does give me something to start working with, I'd like to know the extension I'm using is in a stable version before conversion in production.
If asking when a stable build for this extension in PHP 7.3 is out of the scope of this bug ticket, where should I inquire about this?
The snapshot availability can sure help to catch something. What I meant, a new release can be only triggered by ext/ssh2 leads, after enough QA also on other platforms, which is indeed out of scope of this ticket. Though, it's of course fine to keep this ticket open till a new version is released.
just use curl with supports SSH2 besides a lot of other stuff in rely in pecl-extensions, these have to be avoided whereever you can because they may or may not be maintained and there is not hint at dead ones
do you see here any notice that it's unsopported for nearly a decade?
The problem affects not only Windows but Linux, too.
Remi offers CentOS RPM packets for PHP 7.3 including SSH2 extension.
The source RPMs contain two patches that need to be applied to ssh2-1.1.2 to make that extension compatible to PHP 7.3
When will the PECL extension become officially available on the PECL site? 7.2 is still the only one out there. Furthermore, it still is listed as "Alpha". I have downloaded the one from the master repo as mentioned before, but it would be helpful to know that there is a "production" ready version that is available to use. Is there another group I should be contacting?
How do we get the attention of the ext/ssh2 leads to request a new release that includes this change?