[wp-trac] [WordPress Trac] #35517: Work around PHP7 php-ssh2 breakage
WordPress Trac
noreply at wordpress.org
Thu Mar 23 23:46:21 UTC 2017
#35517: Work around PHP7 php-ssh2 breakage
----------------------------+------------------------------
Reporter: dougal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
----------------------------+------------------------------
Comment (by jobst):
Replying to [comment:15 stianstr23]:
> Compiling ssh2 from latest master at https://github.com/php/pecl-
networking-ssh2 fixes this issue.
>
Not quite, I tried this and it did not work. While it fixes some of the
issues the problem with the different ways of handling resources in PHP
(just the number) and SSH2 (#resource 123) still has problems. I simply
replaced the calls to standard PHP functions (e.g. exist) with calls from
the ssh2 lib - that works.
See #39746.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35517#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list