Cant use ssh2_connect, libssh2?

It looks like there isnt libssh2 installed, and so we cant use ssh2_connect, ssh2_auth_password…
How to install it and enable it in Local ? tried SSH without sudo but no luck…

Error: function ssh2_connect doesn't exist

Hi @decom,

Local’s environments don’t have PHP SSH2 included by default.

I just moved the reply I initially had for this into an FAQ. Please see How do I compile additional PHP extensions? :slight_smile:

1 Like