|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-12-18 00:06 UTC] yardenack at gmail dot com
Description:
------------
I've been using php-ssh2 on Arch Linux from within Wordpress, which lets you update over ssh/sftp like this: define('FS_METHOD','ssh2');
The AUR package is here: https://aur.archlinux.org/packages/php-ssh
Version 0.12 of this package does not work at all - it segfaults every time. Reverting the PKGBUILD 0.11.3 and rebuilding against current PHP versions does work.
Doing a git bisect, I've narrowed down the problematic commit to this: https://git.php.net/?p=pecl/networking/ssh2.git;a=commitdiff;h=8d73279c
I'm not a C or PHP expert. I don't know why this commit breaks it, but I do know that reverting it makes master/head work again, as demonstrated here: https://github.com/yardenac/php-ssh2/commit/ddaa6a08
An updated PKGBUILD for Arch also demonstrates this fix: https://github.com/yardenac/pkgbuilds/tree/master/packages/php-ssh-git
I understand 8d73279c was itself a bugfix (to recognize files with "#" in their path), so the best solution will take further examination.
Patchesfix-segfault (last revision 2013-12-18 00:06 UTC by yardenack at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 15:00:01 2025 UTC |
Your healthcare News are sharing latest news about fitness, asthma, haire care, eyes, health, treatment, weight loss etc. More info to visit: {https://yourhealthcarenews.com}github.com ] ]