[wp-trac] [WordPress Trac] #35517: Work around PHP7 php-ssh2 breakage

WordPress Trac noreply at wordpress.org
Tue Jun 27 06:28:12 UTC 2023


#35517: Work around PHP7 php-ssh2 breakage
------------------------------------+------------------------------
 Reporter:  dougal                  |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Filesystem API          |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+------------------------------

Comment (by dd32):

 This appears to have been fixed since at least version 1.1.2 (2017-07-23)
 of the extension.
 The latest stable release of the pecl extension works

 || PHP || Extension version || libssh2 || Without intval() || with
 intval() ||
 || 8.2.5 || 1.4 (stable: 2023-04-20) || 1.10.0 || YES || YES ||
 || 7.4.33 || 1.4 || 1.10.0 || YES || YES ||
 || 7.2.34 || 1.4 || 1.10.0 || YES || - ||
 || 7.4.33 || 1.3 || 1.10.0 || YES || - ||
 || 7.4.33 || 1.2 || 1.10.0 || YES || - ||
 || 7.2.34 || 1.1.2 (alpha: 2017-07-23) || 1.10.0 || YES || - ||
 || 7.2.34 || 1.0 (alpha: 2016-06-12) || 1.10.0 || NO || YES ||

 I was unable to test with PHP 7.0 and 5.6 due to issues with pecl+https.
 I was unable to test with SSH2 0.13, due to dependency conflicts.

 The only "stable" releases of the extension are 1.4 and 0.13, 0.13 was not
 PHP 7.0+ compatible, so all of the PHP7 builds have been alpha/beta's
 until 1.4.

 I'm not inclined to make this commit, as although it appears to work and
 doesn't appear to break anything, it's only an issue for extensions that
 are significantly out-of-date and running specific non-stable releases.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35517#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list