DivineOmega/php-ssh-connection

PHP 7.0 support?

kwazaro opened this issue · 2 comments

Is there any way to use this extension with PHP 7.0?

so it doesn't work with PHP 7.4?

It does work with PHP 7.4. I have a very basic use case that's working fine with PHP 7.4.


I don't know if it works with PHP 8.0 though, came here looking for that answer.

EDIT: Just switched to https://github.com/spatie/ssh, our use case was extremely simple so it took literally 5 minutes.

EDIT 2: Beware that this lib uses https://github.com/phpseclib/phpseclib, so it works pretty much anywhere regardless of the environment. On the contrary, https://github.com/spatie/ssh relies on the local ssh binary which might not be present.