|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74787 ssh2 1.1 does not install with pecl
Submitted: 2017-06-20 16:36 UTC Modified: 2020-03-09 22:45 UTC
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: ari at diablomedia dot com Assigned: cmb (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: 7.0.20 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ari at diablomedia dot com
New email:
PHP Version: OS:


 [2017-06-20 16:36 UTC] ari at diablomedia dot com
The ssh2-1.1 PECL package does not appear to include the tests/ folder, which causes the pecl install to fail.

Test script:
pecl install ssh2-alpha

Expected result:
ssh2 module should be installed.

Actual result:
# pecl install ssh2-alpha
downloading ssh2-1.1.tgz ...
Starting to download ssh2-1.1.tgz (27,483 bytes)
.........done: 27,483 bytes
ERROR: file /tmp/pear/temp/tmp7kkkVT/ssh2-1.1/tests/ssh2_auth.phpt does not exist


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-22 22:15 UTC] mradcliffe at softpixel dot com
I also ran into this issue using PHP 7.1.5.

I was able to workaround it by forcing the install using "pecl install --force --ignore-errors ssh2-1.1"
 [2020-03-09 22:45 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-03-09 22:45 UTC]
This issue seems to be resolved, at least for the current version
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Mar 04 17:01:38 2024 UTC