Call to undefined function ssh2_connect()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aderes
Forum Newbie
Posts: 6
Joined: Wed May 06, 2009 6:34 pm

Call to undefined function ssh2_connect()

Post by aderes »

Hi:

I'm having a little trouble. I'm getting the error Call to undefined function ssh2_connect(), but when I use phpinfo() I see that openssl is enabled. Any ideas?

Thanks
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Call to undefined function ssh2_connect()

Post by requinix »

Did you follow all the installation instructions? You need libssh2 too, not just the OpenSSL extension.
aderes
Forum Newbie
Posts: 6
Joined: Wed May 06, 2009 6:34 pm

Re: Call to undefined function ssh2_connect()

Post by aderes »

I've talked to our network guy and he installed libssh2 but i'm still getting the error. Is there a way to check if it's installed?

Thanks
Post Reply