Unable to locate path with php-ssh2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-ssh2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 16.04.1 LTS
php-ssh2 0.12-39-
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-
Status changed to 'Confirmed' because the bug affects multiple users.