Unable to locate path with php-ssh2

Bug #1617294 reported by lsdkjfsdlkfjl
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
php-ssh2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 16.04.1 LTS
php-ssh2 0.12-39-g3dfe336+0.12-1build1
apache2 2.4.18-2ubuntu3.1
libssh2-1:amd64 1.5.0-2
Wordpress 4.6

Using php-ssh2, Wordpress can't locate the correct path for it's plugins and themes.
I think the path information doesn't get handled properly by php-ss2.

When installing plugins or themes for Wordpress, using SSH (libssh2 and php-ssh2),
I get the following errors in Wordpress:

Unable to locate WordPress plugin directory.
Unable to locate WordPress content directory.

I tried many suggested solutions I found on the internet.
Nothing worked. I couldn't find any errors in the logs related to this.

After removing the php-ssh2, installed from the Ubuntu repositories
and then installing a newer version of php-ssh2 with pecl, the problem was gone.
pecl install ssh2-1.0

It appears this bug has been fixed somewhere between php-ssh2 0.12-39-g3dfe336+0.12-1build1 and ssh2-1.0.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-ssh2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Tomblin (ptomblin) wrote :

Last year I got around this by installing php-ssh2 via "pecl install ssh2-1.0" but now that's not working either.

Revision history for this message
John Smith (jeksmith) wrote :

This is fixed in Zesty's version of php-ssh2 (1.0+0.13-2). Here's its changelog entry:

   php-ssh2 (1.0+0.13-2) unstable; urgency=medium

     * Apply patches to fix ssh2 to work again with 5.6.28 and 7.0.13
       (Courtesy of Remi Collet) (Closes: #849946)

    -- OndÅ™ej Surý <email address hidden> Tue, 22 Nov 2016 21:22:53 +0100

Here's a link to the bug it closed:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849946

I verified Wordpress updates via ssh2 work in Xenial with only this package from Zesty.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.