Getting libssh2 to run on OSX Mavericks and XAMPP

I’ve been mucking around trying to get libssh2 installed to run on Mavericks and XAMPP. I installed it with:

brew install libssh2

went fine, added this to my php.ini:

restarted the computer and XAMPP, still no go. Getting the “Call to undefined function ssh2_connect()” error still. Not sure what I’ve missed…