php.net |  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
Votes:3
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
 [2017-06-20 16:36 UTC] ari at diablomedia dot com
Description:
------------
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-03-09 22:45 UTC] cmb@php.net
This issue seems to be resolved, at least for the current version
(1.2).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC