Jump to content

ssh2 stops working after upgrade


Recommended Posts

I'm upgrading my localhost (XAMPP) to PHP 5.3.8 from 5.3.1.

 

While everything else seems to be working fine, ssh2 is confounding me: when I run a script it hangs for a bit then a "connection to the server was reset" message.

 

shh2 seems to be properly installed so I don't know what else I can do.

 

Here are the relevant details from both versions:

 

5.3.1

 

Registered PHP Streams: https, ftps, php, file, glob, data, http, ftp, compress.zlib, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp, compress.bzip2, phar, zip

 

ssh2

 

extension version 0.11.0-dev

libssh2 version 1.1

banner                 SSH-2.0-libssh2_1.1

remote forwarding enabled

hostbased auth enabled

polling support enabled

publickey subsystem  enabled

 

libeay32.dll/ssleay32.dll = 0.9.8.12

 

----------------------------------------------

 

5.3.8

 

Registered PHP Streams: php, file, glob, data, http, ftp, zip, compress.zlib, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp, compress.bzip2, phar

 

ssh2

 

extension version 0.11.2

libssh2 version 1.2.7

banner                 SSH-2.0-libssh2_1.2.7

remote forwarding enabled

hostbased auth enabled

polling support enabled

publickey subsystem  enabled

 

libeay32.dll/ssleay32.dll = 0.9.8.18

 

 

Did something happen between these PHP versions that could cause such an error? And if so, is it fixable?

 

I already have phpseclib on standby in case this isn't resolved, I'd just prefer not to have to rewrite all my scripts if at all possible.

 

Thank you.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.